Commit graph

45 commits

Author SHA1 Message Date
glacambre
5a143edc4c Add custom eslint rule detecting uses of potentially unsupported APIs 2023-09-18 16:11:39 +02:00
Oliver Blanthorn
d0794d8261
Update eslint-prettier config for 8.x 2021-03-15 16:50:43 +01:00
fluem
c12a8bc348 Enable 'no-throw-literal' lint rule 2021-02-04 19:58:47 +01:00
Oliver Blanthorn
5c4bd04ed0
Bin annoying eslint rule 2021-01-27 12:57:42 +01:00
Oliver Blanthorn
a3d9f5c942
Switch to no-unused-vars-experimental
`no-unused-vars` doesn't work for types so we had to switch
2020-12-16 16:48:57 +01:00
Oliver Blanthorn
90ee6410ca
Disable array type linting
There doesn't seem to be a way of allowing `MyType[]` but
disallowing `(string | number)[]` in lieu of
`Array<string | number>` so I'm just disabling it
completely
2020-12-10 22:56:16 +01:00
Oliver Blanthorn
185ff58f14
Fix #2572: word boundaries use match again 2020-07-06 18:29:36 +01:00
Oliver Blanthorn
367df61fd7
Fix prettier<->eslint battles 2020-07-01 18:19:56 +01:00
Oliver Blanthorn
1e5be729e8
Document thoughts on no-unused-collection rule 2020-06-19 21:04:52 +01:00
Oliver Blanthorn
e911333d99
Add a comment on another hard rule to enable 2020-06-19 21:04:15 +01:00
Oliver Blanthorn
a32cdbb47a
Re-enable @typescript-eslint/no-extra-semi 2020-06-19 21:02:53 +01:00
Oliver Blanthorn
b68aac9721
Add a comment on another hard rule to enable 2020-06-19 21:02:08 +01:00
Oliver Blanthorn
bb872c223d
Re-enable no-inferrable-types 2020-06-19 21:00:55 +01:00
Oliver Blanthorn
df88ab18ff
Re-enable no-misused-promises 2020-06-19 20:54:45 +01:00
Oliver Blanthorn
f955956b59
Re-enable no-unnecessary-type-assertion 2020-06-19 20:47:40 +01:00
Oliver Blanthorn
c6711ad089
Add a comment on another hard rule to enable 2020-06-19 20:40:04 +01:00
Oliver Blanthorn
9b2f287b35
Add a comment on another hard rule to enable 2020-06-19 20:39:30 +01:00
Oliver Blanthorn
5d37df9caf
Re-enable no-unused-expressions 2020-06-19 20:36:56 +01:00
Oliver Blanthorn
9fde9f3152
Re-enable no-unused-vars 2020-06-19 20:30:07 +01:00
Oliver Blanthorn
d5192f6dac
Re-enable prefer-regexp-exec 2020-06-19 15:19:46 +01:00
Oliver Blanthorn
ff5c0d7323
Re-enable quotes 2020-06-19 13:55:22 +01:00
Oliver Blanthorn
dee3b7e6c1
Re-enable require-await 2020-06-19 13:48:22 +01:00
Oliver Blanthorn
ab13c700ee
Update comments on linting rules 2020-06-19 13:34:25 +01:00
Oliver Blanthorn
3155301bb9
Re-enable unbound-method 2020-06-19 13:31:00 +01:00
Oliver Blanthorn
beebb6ffe5
Re-enable unified-signatures 2020-06-19 13:11:03 +01:00
Oliver Blanthorn
a6ca46d147
Re-enable arrow-body-style 2020-06-19 13:08:23 +01:00
Oliver Blanthorn
db8f0e21ad
Re-enable brace-style 2020-06-19 13:05:31 +01:00
Oliver Blanthorn
d72016f10f
Re-enable guard-for-in 2020-06-19 13:02:43 +01:00
Oliver Blanthorn
96f763e42e
Re-enable no-extra-semi and prettier
Prettier re-enabled as the semi-colon removal made quite a few files
uglier than they were previously.
2020-06-19 12:56:25 +01:00
Oliver Blanthorn
f2cd6a7988
Revert "Re-enable no-unused-collection rule"
This reverts commit 2ea8fd0263.

That commit didn't do what it said - it just removed a comment.
2020-06-18 23:07:18 +01:00
Oliver Blanthorn
2ea8fd0263
Re-enable no-unused-collection rule 2020-06-18 23:06:31 +01:00
Oliver Blanthorn
f64698923f
Re-enable radix 2020-06-18 22:52:49 +01:00
Oliver Blanthorn
6f030f7537
Re-enable space-before-function-paren 2020-06-18 22:44:30 +01:00
Oliver Blanthorn
bd4a87bb36
Re-enable spaced-comment 2020-06-18 22:43:38 +01:00
Oliver Blanthorn
eac06ae39a
Re-enable no-empty-function 2020-06-18 22:35:24 +01:00
Oliver Blanthorn
a146306d0b
Re-enable member-ordering 2020-06-18 22:18:13 +01:00
Oliver Blanthorn
c8c6505ae8
Re-enable dot-notation
Warn all 'pretty' users (regardless of attractiveness) that their
builds may break.
2020-06-18 22:08:02 +01:00
Oliver Blanthorn
2abb740153
Re-enable array-type 2020-06-18 21:57:16 +01:00
Oliver Blanthorn
7e386f87b8
Re-enable ban-types 2020-06-18 21:55:04 +01:00
Oliver Blanthorn
f711265f1b
Document intention to never care about duplicate strings
I think this is rule is a bit daft most of the time
2020-06-18 21:30:58 +01:00
Oliver Blanthorn
5c3c16d376
Re-enable prefer-const rule 2020-06-18 18:34:29 +01:00
Oliver Blanthorn
08e454724e
Fix precommit hook 2020-06-18 17:45:23 +01:00
Oliver Blanthorn
300f9987fc
Disable eslint rules which were failing
These should be re-enabled one-by-one while Tridactyl is made compliant
2020-06-17 14:58:32 +01:00
MatiasStorm
7fee2df26f Add sonarjs 2020-06-11 12:11:03 +02:00
MatiasStorm
670fc2f3de Create initial ESlint configuration with tslint-to-eslint-config 2020-06-06 11:37:14 +02:00