@fullstacksjs/eslint-config 13.4.0 → 13.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/cjs/index.d.ts +1 -1
- package/cjs/modules/base.js +3 -0
- package/cjs/modules/node.js +1 -1
- package/cjs/modules/react.js +17 -12
- package/cjs/modules/typescript.js +3 -2
- package/package.json +14 -14
- package/src/index.d.ts +1 -1
- package/src/modules/base.mjs +6 -0
- package/src/modules/node.mjs +1 -1
- package/src/modules/react.mjs +19 -14
- package/src/modules/typescript.mjs +1 -1
package/README.md
CHANGED
|
@@ -50,7 +50,7 @@ You can fine-tune module detection by overriding it, the `defineConfig` function
|
|
|
50
50
|
|
|
51
51
|
```typescript
|
|
52
52
|
interface Options {
|
|
53
|
-
react?: boolean; // controls react, react-hooks, jsx/a11y plugins
|
|
53
|
+
react?: boolean | { additionalEffectHooks?: string }; // controls react, react-hooks, jsx/a11y plugins
|
|
54
54
|
typescript?: ParserOptions // https://typescript-eslint.io/packages/parser#configuration
|
|
55
55
|
node?: boolean; // controls node plugin
|
|
56
56
|
sort?: boolean; // controls perfectionist plugin
|
package/cjs/index.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export interface Options extends Linter.Config {
|
|
|
19
19
|
* Controls React plugin.
|
|
20
20
|
* @default true - If you have `react` or `react-dom` in your dependencies.
|
|
21
21
|
*/
|
|
22
|
-
react?: boolean;
|
|
22
|
+
react?: boolean | { additionalEffectHooks?: string };
|
|
23
23
|
/**
|
|
24
24
|
* @default true
|
|
25
25
|
*/
|
package/cjs/modules/base.js
CHANGED
|
@@ -185,6 +185,9 @@ function base(options = {}) {
|
|
|
185
185
|
allowUnboundThis: true
|
|
186
186
|
}],
|
|
187
187
|
'prefer-const': 'warn',
|
|
188
|
+
'preserve-caught-error': (0, _conditions.strict)(options, ['warn', {
|
|
189
|
+
requireCatchParameter: true
|
|
190
|
+
}]),
|
|
188
191
|
'prefer-exponentiation-operator': 'warn',
|
|
189
192
|
'prefer-numeric-literals': 'error',
|
|
190
193
|
'prefer-object-has-own': 'warn',
|
package/cjs/modules/node.js
CHANGED
|
@@ -48,7 +48,6 @@ function node(options = {}) {
|
|
|
48
48
|
// Nice but not a general rule
|
|
49
49
|
'n/prefer-global/buffer': 'warn',
|
|
50
50
|
'n/prefer-global/console': 'warn',
|
|
51
|
-
'n/prefer-global/process': 'warn',
|
|
52
51
|
'n/prefer-global/text-decoder': 'warn',
|
|
53
52
|
'n/prefer-global/text-encoder': 'warn',
|
|
54
53
|
'n/prefer-global/url-search-params': 'warn',
|
|
@@ -58,6 +57,7 @@ function node(options = {}) {
|
|
|
58
57
|
'n/prefer-promises/fs': 'warn',
|
|
59
58
|
'n/process-exit-as-throw': 'error',
|
|
60
59
|
// Disabled
|
|
60
|
+
'n/prefer-global/process': 'off',
|
|
61
61
|
'n/file-extension-in-import': 'off',
|
|
62
62
|
'n/no-extraneous-import': 'off',
|
|
63
63
|
'n/no-extraneous-require': 'off',
|
package/cjs/modules/react.js
CHANGED
|
@@ -9,7 +9,7 @@ var _eslintPluginJsxA11y = _interopRequireDefault(require("eslint-plugin-jsx-a11
|
|
|
9
9
|
var _eslintPluginReactHooks = _interopRequireDefault(require("eslint-plugin-react-hooks"));
|
|
10
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
11
|
/** @return { import('eslint').Linter.Config } */
|
|
12
|
-
function react() {
|
|
12
|
+
function react(options = {}) {
|
|
13
13
|
return {
|
|
14
14
|
plugins: {
|
|
15
15
|
..._eslintPlugin.default.configs.all.plugins,
|
|
@@ -17,9 +17,12 @@ function react() {
|
|
|
17
17
|
'jsx-a11y': _eslintPluginJsxA11y.default
|
|
18
18
|
},
|
|
19
19
|
settings: {
|
|
20
|
-
react: {
|
|
20
|
+
'react': {
|
|
21
21
|
pragma: 'React',
|
|
22
22
|
version: 'detect'
|
|
23
|
+
},
|
|
24
|
+
'react-hooks': {
|
|
25
|
+
additionalEffectHooks: options.react.additionalEffectHooks
|
|
23
26
|
}
|
|
24
27
|
},
|
|
25
28
|
rules: {
|
|
@@ -41,7 +44,11 @@ function react() {
|
|
|
41
44
|
'@eslint-react/jsx-key-before-spread': 'error',
|
|
42
45
|
'@eslint-react/jsx-no-undef': 'off',
|
|
43
46
|
'@eslint-react/jsx-no-iife': 'warn',
|
|
47
|
+
'@eslint-react/jsx-no-duplicate-props': 'error',
|
|
48
|
+
'@eslint-react/jsx-no-comment-textnodes': 'warn',
|
|
44
49
|
'@eslint-react/jsx-uses-react': 'off',
|
|
50
|
+
'@eslint-react/jsx-shorthand-boolean': 'warn',
|
|
51
|
+
'@eslint-react/jsx-shorthand-fragment': 'warn',
|
|
45
52
|
'@eslint-react/no-access-state-in-setstate': 'error',
|
|
46
53
|
'@eslint-react/no-array-index-key': 'warn',
|
|
47
54
|
'@eslint-react/no-children-count': 'warn',
|
|
@@ -51,7 +58,6 @@ function react() {
|
|
|
51
58
|
'@eslint-react/no-children-prop': 'warn',
|
|
52
59
|
'@eslint-react/no-children-to-array': 'warn',
|
|
53
60
|
'@eslint-react/no-clone-element': 'warn',
|
|
54
|
-
'@eslint-react/no-comment-textnodes': 'warn',
|
|
55
61
|
'@eslint-react/no-component-will-mount': 'error',
|
|
56
62
|
'@eslint-react/no-component-will-receive-props': 'error',
|
|
57
63
|
'@eslint-react/no-component-will-update': 'error',
|
|
@@ -60,7 +66,6 @@ function react() {
|
|
|
60
66
|
'@eslint-react/no-direct-mutation-state': 'error',
|
|
61
67
|
'@eslint-react/no-duplicate-key': 'error',
|
|
62
68
|
'@eslint-react/no-default-props': 'warn',
|
|
63
|
-
'@eslint-react/jsx-no-duplicate-props': 'error',
|
|
64
69
|
'@eslint-react/no-forward-ref': 'warn',
|
|
65
70
|
'@eslint-react/no-implicit-key': 'error',
|
|
66
71
|
'@eslint-react/no-missing-context-display-name': 'warn',
|
|
@@ -73,6 +78,7 @@ function react() {
|
|
|
73
78
|
'@eslint-react/no-set-state-in-component-did-update': 'warn',
|
|
74
79
|
'@eslint-react/no-set-state-in-component-will-update': 'warn',
|
|
75
80
|
'@eslint-react/no-string-refs': 'error',
|
|
81
|
+
'@eslint-react/dom/no-string-style-prop': 'error',
|
|
76
82
|
'@eslint-react/no-unsafe-component-will-mount': 'warn',
|
|
77
83
|
'@eslint-react/no-unsafe-component-will-receive-props': 'warn',
|
|
78
84
|
'@eslint-react/no-unsafe-component-will-update': 'warn',
|
|
@@ -80,18 +86,17 @@ function react() {
|
|
|
80
86
|
'@eslint-react/no-unstable-default-props': 'error',
|
|
81
87
|
'@eslint-react/no-unused-class-component-members': 'warn',
|
|
82
88
|
'@eslint-react/no-unused-state': 'warn',
|
|
89
|
+
'@eslint-react/no-unused-props': 'off',
|
|
83
90
|
'@eslint-react/no-useless-forward-ref': 'off',
|
|
84
91
|
'@eslint-react/no-useless-fragment': 'warn',
|
|
85
92
|
'@eslint-react/no-use-context': 'warn',
|
|
93
|
+
'@eslint-react/no-unnecessary-use-callback': 'warn',
|
|
94
|
+
'@eslint-react/no-unnecessary-use-memo': 'warn',
|
|
95
|
+
'@eslint-react/no-unnecessary-use-prefix': 'warn',
|
|
96
|
+
'@eslint-react/no-unnecessary-key': 'warn',
|
|
97
|
+
'@eslint-react/prefer-use-state-lazy-initialization': 'warn',
|
|
86
98
|
'@eslint-react/prefer-destructuring-assignment': 'warn',
|
|
87
|
-
'@eslint-react/
|
|
88
|
-
'@eslint-react/avoid-shorthand-boolean': 'off',
|
|
89
|
-
'@eslint-react/prefer-shorthand-fragment': 'warn',
|
|
90
|
-
'@eslint-react/avoid-shorthand-fragment': 'off',
|
|
91
|
-
'@eslint-react/hooks-extra/prefer-use-state-lazy-initialization': 'warn',
|
|
92
|
-
'@eslint-react/hooks-extra/no-unnecessary-use-callback': 'warn',
|
|
93
|
-
'@eslint-react/hooks-extra/no-unnecessary-use-prefix': 'warn',
|
|
94
|
-
'@eslint-react/hooks-extra/no-unnecessary-use-memo': 'warn',
|
|
99
|
+
'@eslint-react/hooks-extra/no-direct-set-state-in-use-effect': 'warn',
|
|
95
100
|
'@eslint-react/naming-convention/component-name': 'warn',
|
|
96
101
|
'@eslint-react/naming-convention/context-name': 'warn',
|
|
97
102
|
'@eslint-react/naming-convention/filename-extension': ['error', {
|
|
@@ -70,8 +70,9 @@ function typescript(options = {}) {
|
|
|
70
70
|
'@typescript-eslint/no-duplicate-enum-values': 'error',
|
|
71
71
|
'@typescript-eslint/no-dynamic-delete': 'error',
|
|
72
72
|
'@typescript-eslint/no-empty-function': 'error',
|
|
73
|
-
'@typescript-eslint/no-empty-
|
|
74
|
-
|
|
73
|
+
'@typescript-eslint/no-empty-object-type': ['warn', {
|
|
74
|
+
allowInterfaces: 'with-single-extends'
|
|
75
|
+
}],
|
|
75
76
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
76
77
|
'@typescript-eslint/no-extra-non-null-assertion': 'error',
|
|
77
78
|
'@typescript-eslint/no-extraneous-class': ['warn', {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fullstacksjs/eslint-config",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.6.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "fullstacks <fullstacksjs@gmail.com>",
|
|
6
6
|
"description": "fullstacks eslint config",
|
|
@@ -35,44 +35,44 @@
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@eslint-react/eslint-plugin": "
|
|
39
|
-
"@eslint/compat": "1.
|
|
40
|
-
"@next/eslint-plugin-next": "15.5.
|
|
41
|
-
"@stylistic/eslint-plugin": "5.
|
|
42
|
-
"@vitest/eslint-plugin": "1.3.
|
|
38
|
+
"@eslint-react/eslint-plugin": "2.0.6",
|
|
39
|
+
"@eslint/compat": "1.4.0",
|
|
40
|
+
"@next/eslint-plugin-next": "15.5.4",
|
|
41
|
+
"@stylistic/eslint-plugin": "5.4.0",
|
|
42
|
+
"@vitest/eslint-plugin": "1.3.13",
|
|
43
43
|
"deepmerge": "4.3.1",
|
|
44
|
-
"eslint-plugin-better-tailwindcss": "3.7.
|
|
44
|
+
"eslint-plugin-better-tailwindcss": "3.7.9",
|
|
45
45
|
"eslint-plugin-cypress": "5.1.1",
|
|
46
46
|
"eslint-plugin-import-x": "4.16.1",
|
|
47
47
|
"eslint-plugin-jest": "29.0.1",
|
|
48
48
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
49
|
-
"eslint-plugin-n": "17.
|
|
49
|
+
"eslint-plugin-n": "17.23.1",
|
|
50
50
|
"eslint-plugin-perfectionist": "4.15.0",
|
|
51
51
|
"eslint-plugin-playwright": "2.2.2",
|
|
52
52
|
"eslint-plugin-prettier": "5.5.4",
|
|
53
53
|
"eslint-plugin-promise": "7.2.1",
|
|
54
|
-
"eslint-plugin-react-hooks": "
|
|
54
|
+
"eslint-plugin-react-hooks": "6.1.1",
|
|
55
55
|
"eslint-plugin-regexp": "2.10.0",
|
|
56
56
|
"eslint-plugin-storybook": "0.12.0",
|
|
57
57
|
"globals": "16.4.0",
|
|
58
58
|
"local-pkg": "1.1.2",
|
|
59
|
-
"typescript-eslint": "8.
|
|
59
|
+
"typescript-eslint": "8.44.1"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@eslint/eslintrc": "3.3.1",
|
|
63
|
-
"@eslint/js": "9.
|
|
63
|
+
"@eslint/js": "9.36.0",
|
|
64
64
|
"@semantic-release/github": "11.0.6",
|
|
65
65
|
"@semantic-release/npm": "12.0.2",
|
|
66
66
|
"@semantic-release/release-notes-generator": "14.1.0",
|
|
67
67
|
"@types/eslint": "9.6.1",
|
|
68
68
|
"cspell": "9.2.1",
|
|
69
|
-
"eslint": "9.
|
|
69
|
+
"eslint": "9.36.0",
|
|
70
70
|
"husky": "9.1.7",
|
|
71
71
|
"jest": "30.1.3",
|
|
72
|
-
"lint-staged": "16.1
|
|
72
|
+
"lint-staged": "16.2.1",
|
|
73
73
|
"pinst": "3.0.0",
|
|
74
74
|
"prettier": "3.6.2",
|
|
75
|
-
"semantic-release": "24.2.
|
|
75
|
+
"semantic-release": "24.2.9",
|
|
76
76
|
"typescript": "5.9.2",
|
|
77
77
|
"unbuild": "3.6.1"
|
|
78
78
|
},
|
package/src/index.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export interface Options extends Linter.Config {
|
|
|
19
19
|
* Controls React plugin.
|
|
20
20
|
* @default true - If you have `react` or `react-dom` in your dependencies.
|
|
21
21
|
*/
|
|
22
|
-
react?: boolean;
|
|
22
|
+
react?: boolean | { additionalEffectHooks?: string };
|
|
23
23
|
/**
|
|
24
24
|
* @default true
|
|
25
25
|
*/
|
package/src/modules/base.mjs
CHANGED
|
@@ -157,6 +157,12 @@ function base(options = {}) {
|
|
|
157
157
|
'one-var': ['error', { uninitialized: 'never', initialized: 'never' }],
|
|
158
158
|
'prefer-arrow-callback': ['warn', { allowNamedFunctions: true, allowUnboundThis: true }],
|
|
159
159
|
'prefer-const': 'warn',
|
|
160
|
+
'preserve-caught-error': strict(options, [
|
|
161
|
+
'warn',
|
|
162
|
+
{
|
|
163
|
+
requireCatchParameter: true,
|
|
164
|
+
},
|
|
165
|
+
]),
|
|
160
166
|
'prefer-exponentiation-operator': 'warn',
|
|
161
167
|
'prefer-numeric-literals': 'error',
|
|
162
168
|
'prefer-object-has-own': 'warn',
|
package/src/modules/node.mjs
CHANGED
|
@@ -35,7 +35,6 @@ function node(options = {}) {
|
|
|
35
35
|
'n/no-unsupported-features/node-builtins': 'off', // Nice but not a general rule
|
|
36
36
|
'n/prefer-global/buffer': 'warn',
|
|
37
37
|
'n/prefer-global/console': 'warn',
|
|
38
|
-
'n/prefer-global/process': 'warn',
|
|
39
38
|
'n/prefer-global/text-decoder': 'warn',
|
|
40
39
|
'n/prefer-global/text-encoder': 'warn',
|
|
41
40
|
'n/prefer-global/url-search-params': 'warn',
|
|
@@ -46,6 +45,7 @@ function node(options = {}) {
|
|
|
46
45
|
'n/process-exit-as-throw': 'error',
|
|
47
46
|
|
|
48
47
|
// Disabled
|
|
48
|
+
'n/prefer-global/process': 'off',
|
|
49
49
|
'n/file-extension-in-import': 'off',
|
|
50
50
|
'n/no-extraneous-import': 'off',
|
|
51
51
|
'n/no-extraneous-require': 'off',
|
package/src/modules/react.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import a11yPlugin from 'eslint-plugin-jsx-a11y';
|
|
|
3
3
|
import hooksPlugin from 'eslint-plugin-react-hooks';
|
|
4
4
|
|
|
5
5
|
/** @return { import('eslint').Linter.Config } */
|
|
6
|
-
function react() {
|
|
6
|
+
function react(options = {}) {
|
|
7
7
|
return {
|
|
8
8
|
plugins: {
|
|
9
9
|
...reactPlugin.configs.all.plugins,
|
|
@@ -11,10 +11,13 @@ function react() {
|
|
|
11
11
|
'jsx-a11y': a11yPlugin,
|
|
12
12
|
},
|
|
13
13
|
settings: {
|
|
14
|
-
react: {
|
|
14
|
+
'react': {
|
|
15
15
|
pragma: 'React',
|
|
16
16
|
version: 'detect',
|
|
17
17
|
},
|
|
18
|
+
'react-hooks': {
|
|
19
|
+
additionalEffectHooks: options.react.additionalEffectHooks,
|
|
20
|
+
},
|
|
18
21
|
},
|
|
19
22
|
rules: {
|
|
20
23
|
'@eslint-react/dom/no-void-elements-with-children': 'warn',
|
|
@@ -36,7 +39,12 @@ function react() {
|
|
|
36
39
|
'@eslint-react/jsx-key-before-spread': 'error',
|
|
37
40
|
'@eslint-react/jsx-no-undef': 'off',
|
|
38
41
|
'@eslint-react/jsx-no-iife': 'warn',
|
|
42
|
+
'@eslint-react/jsx-no-duplicate-props': 'error',
|
|
43
|
+
'@eslint-react/jsx-no-comment-textnodes': 'warn',
|
|
39
44
|
'@eslint-react/jsx-uses-react': 'off',
|
|
45
|
+
'@eslint-react/jsx-shorthand-boolean': 'warn',
|
|
46
|
+
'@eslint-react/jsx-shorthand-fragment': 'warn',
|
|
47
|
+
|
|
40
48
|
'@eslint-react/no-access-state-in-setstate': 'error',
|
|
41
49
|
'@eslint-react/no-array-index-key': 'warn',
|
|
42
50
|
'@eslint-react/no-children-count': 'warn',
|
|
@@ -46,7 +54,6 @@ function react() {
|
|
|
46
54
|
'@eslint-react/no-children-prop': 'warn',
|
|
47
55
|
'@eslint-react/no-children-to-array': 'warn',
|
|
48
56
|
'@eslint-react/no-clone-element': 'warn',
|
|
49
|
-
'@eslint-react/no-comment-textnodes': 'warn',
|
|
50
57
|
'@eslint-react/no-component-will-mount': 'error',
|
|
51
58
|
'@eslint-react/no-component-will-receive-props': 'error',
|
|
52
59
|
'@eslint-react/no-component-will-update': 'error',
|
|
@@ -55,7 +62,6 @@ function react() {
|
|
|
55
62
|
'@eslint-react/no-direct-mutation-state': 'error',
|
|
56
63
|
'@eslint-react/no-duplicate-key': 'error',
|
|
57
64
|
'@eslint-react/no-default-props': 'warn',
|
|
58
|
-
'@eslint-react/jsx-no-duplicate-props': 'error',
|
|
59
65
|
'@eslint-react/no-forward-ref': 'warn',
|
|
60
66
|
'@eslint-react/no-implicit-key': 'error',
|
|
61
67
|
'@eslint-react/no-missing-context-display-name': 'warn',
|
|
@@ -68,6 +74,7 @@ function react() {
|
|
|
68
74
|
'@eslint-react/no-set-state-in-component-did-update': 'warn',
|
|
69
75
|
'@eslint-react/no-set-state-in-component-will-update': 'warn',
|
|
70
76
|
'@eslint-react/no-string-refs': 'error',
|
|
77
|
+
'@eslint-react/dom/no-string-style-prop': 'error',
|
|
71
78
|
'@eslint-react/no-unsafe-component-will-mount': 'warn',
|
|
72
79
|
'@eslint-react/no-unsafe-component-will-receive-props': 'warn',
|
|
73
80
|
'@eslint-react/no-unsafe-component-will-update': 'warn',
|
|
@@ -75,21 +82,19 @@ function react() {
|
|
|
75
82
|
'@eslint-react/no-unstable-default-props': 'error',
|
|
76
83
|
'@eslint-react/no-unused-class-component-members': 'warn',
|
|
77
84
|
'@eslint-react/no-unused-state': 'warn',
|
|
85
|
+
'@eslint-react/no-unused-props': 'off',
|
|
78
86
|
'@eslint-react/no-useless-forward-ref': 'off',
|
|
79
87
|
'@eslint-react/no-useless-fragment': 'warn',
|
|
80
88
|
'@eslint-react/no-use-context': 'warn',
|
|
81
|
-
'@eslint-react/
|
|
82
|
-
|
|
83
|
-
'@eslint-react/
|
|
84
|
-
'@eslint-react/
|
|
89
|
+
'@eslint-react/no-unnecessary-use-callback': 'warn',
|
|
90
|
+
'@eslint-react/no-unnecessary-use-memo': 'warn',
|
|
91
|
+
'@eslint-react/no-unnecessary-use-prefix': 'warn',
|
|
92
|
+
'@eslint-react/no-unnecessary-key': 'warn',
|
|
85
93
|
|
|
86
|
-
'@eslint-react/prefer-
|
|
87
|
-
'@eslint-react/
|
|
94
|
+
'@eslint-react/prefer-use-state-lazy-initialization': 'warn',
|
|
95
|
+
'@eslint-react/prefer-destructuring-assignment': 'warn',
|
|
88
96
|
|
|
89
|
-
'@eslint-react/hooks-extra/
|
|
90
|
-
'@eslint-react/hooks-extra/no-unnecessary-use-callback': 'warn',
|
|
91
|
-
'@eslint-react/hooks-extra/no-unnecessary-use-prefix': 'warn',
|
|
92
|
-
'@eslint-react/hooks-extra/no-unnecessary-use-memo': 'warn',
|
|
97
|
+
'@eslint-react/hooks-extra/no-direct-set-state-in-use-effect': 'warn',
|
|
93
98
|
|
|
94
99
|
'@eslint-react/naming-convention/component-name': 'warn',
|
|
95
100
|
'@eslint-react/naming-convention/context-name': 'warn',
|
|
@@ -74,7 +74,7 @@ function typescript(options = {}) {
|
|
|
74
74
|
'@typescript-eslint/no-duplicate-enum-values': 'error',
|
|
75
75
|
'@typescript-eslint/no-dynamic-delete': 'error',
|
|
76
76
|
'@typescript-eslint/no-empty-function': 'error',
|
|
77
|
-
'@typescript-eslint/no-empty-
|
|
77
|
+
'@typescript-eslint/no-empty-object-type': ['warn', { allowInterfaces: 'with-single-extends' }],
|
|
78
78
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
79
79
|
'@typescript-eslint/no-extra-non-null-assertion': 'error',
|
|
80
80
|
'@typescript-eslint/no-extraneous-class': ['warn', { allowWithDecorator: true }],
|