Commit a94e69d
authored
chore: explicitly enable more rules that are on by default (#4)
Same as #2, but for typescript (both type-aware and non-type-aware) rules.
https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-array-delete.html
https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-duplicate-enum-values.html
https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-meaningless-void-operator.html
https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-misused-new.html
https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-misused-spread.html
https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-this-alias.html
https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-parameter-property-assignment
https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unsafe-declaration-merging
https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-useless-empty-export
https://oxc.rs/docs/guide/usage/linter/rules/typescript/triple-slash-reference.html1 parent d015e9c commit a94e69d
2 files changed
Lines changed: 17 additions & 7 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| 25 | + | |
24 | 26 | | |
| 27 | + | |
| 28 | + | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
9 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
10 | 19 | | |
| 20 | + | |
| 21 | + | |
11 | 22 | | |
12 | 23 | | |
13 | 24 | | |
| |||
20 | 31 | | |
21 | 32 | | |
22 | 33 | | |
23 | | - | |
24 | | - | |
| 34 | + | |
25 | 35 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 36 | + | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
| |||
0 commit comments