-
Notifications
You must be signed in to change notification settings - Fork 313
/
eslint-ts-rules-fix-later.mjs
48 lines (47 loc) · 2.02 KB
/
eslint-ts-rules-fix-later.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
export const fixLaterRules = {
"@typescript-eslint/no-unnecessary-condition": ["off"],
"@typescript-eslint/prefer-nullish-coalescing": ["off"],
"@typescript-eslint/no-floating-promises": ["off"],
"@typescript-eslint/no-invalid-void-type": ["off"],
"@typescript-eslint/no-base-to-string": ["off"],
"@typescript-eslint/prefer-regexp-exec": ["off"],
"@typescript-eslint/no-dynamic-delete": ["off"],
"@typescript-eslint/class-literal-property-style": ["off"],
// TODO: Reenable after strict null checks have been implemented
"@typescript-eslint/no-unnecessary-type-assertion": ["off"],
"no-prototype-builtins": ["off"],
"@smarttools/rxjs/no-nested-subscribe": ["off"],
"sonarjs/prefer-nullish-coalescing": ["off"],
"sonarjs/deprecation": ["off"],
"sonarjs/no-selector-parameter": ["off"],
"sonarjs/concise-regex": ["off"],
"sonarjs/regex-complexity": ["off"],
"sonarjs/no-nested-functions": ["off"],
"sonarjs/sonar-prefer-regexp-exec": ["off"],
"sonarjs/empty-string-repetition": ["off"],
"sonarjs/anchor-precedence": ["off"],
"sonarjs/single-char-in-character-classes": ["off"],
"sonarjs/duplicates-in-character-class": ["off"],
"sonarjs/slow-regex": ["off"],
"sonarjs/no-base-to-string": ["off"],
"sonarjs/link-with-target-blank": ["off"],
"sonarjs/reduce-initial-value": "off",
"sonarjs/no-empty-test-file": ["off"],
"sonarjs/no-ignored-exceptions": ["off"],
"sonarjs/array-callback-without-return": "off",
"sonarjs/os-command": "off",
"sonarjs/sonar-prefer-optional-chain": "off",
"sonarjs/prefer-single-boolean-return": ["off"],
"sonarjs/no-misused-promises": "off",
"sonarjs/function-return-type": "off",
"no-await-in-loop": "off",
"prefer-template": "off",
"no-underscore-dangle": "off",
"newline-per-chained-call": ["off", { ignoreChainWithDepth: 4 }],
"no-return-assign": "off",
"@stylistic/js/array-bracket-newline": "off",
"import/extensions": ["off"],
"@stylistic/js/array-element-newline": "off",
// eqeqeq for nulls
// shopify rules for enum naming and return-early
};