@@ -3,3 +3,69 @@ export const ignoreScope = new Set(['oxc', 'deepscan', 'security']);
33
44// these are the rules that are not fully implemented in oxc
55export const ignoreCategories = new Set ( [ 'nursery' ] ) ;
6+
7+ // we are ignoring typescript type-aware rules for now, until it is stable.
8+ // When support it with a flag, do the same for `ignoreCategories`.
9+ // List copied from:
10+ // https://github.com/typescript-eslint/typescript-eslint/blob/7319bad3a5022be2adfbcb331451cfd85d1d786a/packages/eslint-plugin/src/configs/flat/disable-type-checked.ts
11+ export const typescriptTypeAwareRules = [
12+ 'await-thenable' ,
13+ 'consistent-return' ,
14+ 'consistent-type-exports' ,
15+ 'dot-notation' ,
16+ 'naming-convention' ,
17+ 'no-array-delete' ,
18+ 'no-base-to-string' ,
19+ 'no-confusing-void-expression' ,
20+ 'no-deprecated' ,
21+ 'no-duplicate-type-constituents' ,
22+ 'no-floating-promises' ,
23+ 'no-for-in-array' ,
24+ 'no-implied-eval' ,
25+ 'no-meaningless-void-operator' ,
26+ 'no-misused-promises' ,
27+ 'no-misused-spread' ,
28+ 'no-mixed-enums' ,
29+ 'no-redundant-type-constituents' ,
30+ 'no-unnecessary-boolean-literal-compare' ,
31+ 'no-unnecessary-condition' ,
32+ 'no-unnecessary-qualifier' ,
33+ 'no-unnecessary-template-expression' ,
34+ 'no-unnecessary-type-arguments' ,
35+ 'no-unnecessary-type-assertion' ,
36+ 'no-unnecessary-type-conversion' ,
37+ 'no-unnecessary-type-parameters' ,
38+ 'no-unsafe-argument' ,
39+ 'no-unsafe-assignment' ,
40+ 'no-unsafe-call' ,
41+ 'no-unsafe-enum-comparison' ,
42+ 'no-unsafe-member-access' ,
43+ 'no-unsafe-return' ,
44+ 'no-unsafe-type-assertion' ,
45+ 'no-unsafe-unary-minus' ,
46+ 'non-nullable-type-assertion-style' ,
47+ 'only-throw-error' ,
48+ 'prefer-destructuring' ,
49+ 'prefer-find' ,
50+ 'prefer-includes' ,
51+ 'prefer-nullish-coalescing' ,
52+ 'prefer-optional-chain' ,
53+ 'prefer-promise-reject-errors' ,
54+ 'prefer-readonly' ,
55+ 'prefer-readonly-parameter-types' ,
56+ 'prefer-reduce-type-parameter' ,
57+ 'prefer-regexp-exec' ,
58+ 'prefer-return-this-type' ,
59+ 'prefer-string-starts-ends-with' ,
60+ 'promise-function-async' ,
61+ 'related-getter-setter-pairs' ,
62+ 'require-array-sort-compare' ,
63+ 'require-await' ,
64+ 'restrict-plus-operands' ,
65+ 'restrict-template-expressions' ,
66+ 'return-await' ,
67+ 'strict-boolean-expressions' ,
68+ 'switch-exhaustiveness-check' ,
69+ 'unbound-method' ,
70+ 'use-unknown-in-catch-callback-variable' ,
71+ ] ;
0 commit comments