Commit graph

60 commits

Author SHA1 Message Date
tidy-dev
c26f607813 Need to turn it off not just remove.. 2023-07-07 15:03:45 -04:00
tidy-dev
88a2a3cd9f Remove autofocus warning 2023-07-07 14:06:02 -04:00
tidy-dev
8f8245a32a Update es lint rules 2023-05-31 08:29:19 -04:00
tidy-dev
5ddaea898d Turn off/remove disables for jsx-a11y/no-autofocus 2023-05-16 13:11:07 -04:00
tidy-dev
111083c7ad Disable errors via inline or file level disables 2022-08-25 16:02:14 -04:00
tidy-dev
ec2cf7657d Revert eslint-plugin-primer-react 2022-08-25 15:30:16 -04:00
tidy-dev
41c7883c38 Use github/react not github/recommended 2022-08-25 15:13:43 -04:00
tidy-dev
db807bbdf7 Turn off errors from github/recommended 2022-08-25 14:27:59 -04:00
tidy-dev
a0120c5890 Adding github/recommended 2022-08-25 14:27:58 -04:00
tidy-dev
f5ff47daed Warn for eslint-plugin-primer-react errors 2022-08-25 14:27:46 -04:00
tidy-dev
5789f564d0 Adding esling-plugin-primer-react linting 2022-08-23 14:46:15 -04:00
Markus Olsson
02a80325f7 Skip children prop 2022-02-01 18:03:03 +01:00
Markus Olsson
6564a7d88f Remove tslint 2022-02-01 17:40:13 +01:00
Markus Olsson
befb640299 Skip the entire plugin 2022-02-01 15:25:32 +01:00
Markus Olsson
ac5dad19c1 Remove eslint-plugin-babel
The no-invalid-this errors where it really shouldn't error
2022-02-01 15:13:39 +01:00
Markus Olsson
ae15292ecc Use overload-capable no-redeclare rule 2022-02-01 15:02:06 +01:00
Markus Olsson
f076aa4b8c Add a rule for not accidentally using webContents.send directly 2022-01-21 14:06:08 +01:00
Markus Olsson
f4d9ac196e Prevent importing ipcMain straight from electron 2022-01-21 14:05:50 +01:00
Markus Olsson
021e66e112 Add lint rules to prevent us from using ipcRenderer 2022-01-21 11:41:54 +01:00
Sergio Padrino
81297bceb0 Revert setAlmostImmediate 2021-11-17 14:02:42 +01:00
Sergio Padrino
e5bc189793 Create setAlmostImmediate, and enforce it via eslint rule 2021-08-12 13:34:10 +02:00
Brendan Forster
946cfdc8f6 enable new rules in eslint config 2021-07-06 12:41:56 -03:00
Markus Olsson
ac3bb3cb73 Disable these recommended rules for now 2020-07-02 18:02:47 +02:00
Markus Olsson
fdba78a41c Enable no-empty-interface rule 2020-07-02 18:01:53 +02:00
Markus Olsson
0843d7bb6d Explicitly turn this off for test and script so that we can consider enabling it for the rest of the app 2020-07-02 17:35:40 +02:00
Markus Olsson
15191a900b Turn on the default typescript-eslint rules 2020-07-02 17:29:04 +02:00
Markus Olsson
ef4f8a2350 Replicate the variable-name ban-keywords rule 2020-07-02 17:00:45 +02:00
Markus Olsson
719ca73c82 Enable no-unused-state rule 2020-07-02 15:15:37 +02:00
Markus Olsson
e6e45a1b56 Replace no-unnecessary-class tslint rule with corresponding typescript-eslint rule
1765a178e4/packages/eslint-plugin/docs/rules/no-extraneous-class.md
2020-07-02 14:20:15 +02:00
Markus Olsson
ed82c1810a Re-enable member-order after removing corersponding tslint-rule
It doesn't appear as if it's possible to get the eslint rule configured exactly the way the tslint rule was but this is the closest I could get.
2020-07-02 14:18:09 +02:00
Markus Olsson
9917c35f79 Too many errors 2020-07-02 14:01:46 +02:00
Markus Olsson
e029e70cb3 Add jsdoc plugin to eslint to replace jsdoc-format tslint rule 2020-07-02 13:35:18 +02:00
Markus Olsson
09fecbc55f Replace class-name rule with eslint 2020-07-02 13:25:13 +02:00
Andrew Casey
e6329540d3 Update prettier and eslint for optional chaining support 2020-06-24 17:43:46 +00:00
Brendan Forster
c53e3f95e8 indicate which version of React is in use 2019-06-04 15:34:06 -03:00
Brendan Forster
1faaffc09f no need to run this rule as it might conflict with prettier 2019-06-04 15:28:51 -03:00
Brendan Forster
bd6f489d55 enable rule to warn about new Buffer() code 2019-04-01 14:19:34 -03:00
Brendan Forster
1fad2643ab update blocked rule 2019-03-07 11:03:58 -04:00
Brendan Forster
fb631ec299 update rules to use renamed plugin 2019-03-07 11:03:58 -04:00
Brendan Forster
0975d3f742 port eslint to use new TS parser 2019-01-21 10:05:36 -04:00
evelyn masso
1b6bc7cfcd pull eslint into yarn scripts 2018-11-19 12:11:53 -08:00
Jed Fox
fa1f3b1655 Upgrade Prettier to 1.14 (beta) 2018-07-18 06:42:46 -04:00
Brendan Forster
63c199877d Merge branch 'master' into pr/3675 2018-04-02 17:54:33 +10:00
Brendan Forster
32d0cea27a lint the changelog file to catch syntax errors 2018-03-27 12:21:02 +11:00
Jed Fox
72ea02412c Merge branch 'master' into my-hands-are-typing 2018-02-14 17:04:23 -05:00
Brendan Forster
da2b4173a1 update prettier and format SCSS files
Co-Authored-By: Jed Fox <git@twopointzero.us>
2018-02-02 10:47:01 +11:00
William Shepherd
c8e2c679ef
Revert "Run Prettier on All The Things" 2018-02-01 17:08:53 -06:00
Jed Fox
53d8d52ac6 Enforce 'use strict' (non-)use 2018-01-06 06:34:12 -05:00
Jed Fox
d1668da619 ⬆️ TS ESLint parser for bug fix 2018-01-06 06:33:52 -05:00
Jed Fox
1b98a30239 Specify parser for prettier in ESLint config, not in the Prettier config 2017-12-12 17:33:52 -05:00