linted 19.4.3-rc.9 → 20.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. package/.github/workflows/RELEASE.yml +36 -36
  2. package/.github/workflows/rc.yml +36 -36
  3. package/.markdownlint.jsonc +122 -122
  4. package/LICENSE +21 -21
  5. package/README.md +387 -387
  6. package/SECURITY.md +9 -9
  7. package/dist/imports/index.d.ts.map +1 -1
  8. package/dist/imports/plugins.d.ts.map +1 -1
  9. package/eslint.config.js +3 -3
  10. package/package.json +144 -144
  11. package/src/_strings/id.ts +8 -8
  12. package/src/_strings/index.ts +6 -6
  13. package/src/_strings/level.spec.ts +31 -31
  14. package/src/_strings/level.ts +4 -4
  15. package/src/_strings/state.ts +28 -28
  16. package/src/files/html.ts +1 -1
  17. package/src/files/index.ts +19 -19
  18. package/src/files/js.ts +4 -4
  19. package/src/files/json.ts +1 -1
  20. package/src/files/jsonc.ts +4 -4
  21. package/src/files/mocha.ts +4 -4
  22. package/src/files/mochaJs.ts +4 -4
  23. package/src/files/svelte.ts +1 -1
  24. package/src/files/ts.ts +1 -1
  25. package/src/files/yml.ts +1 -1
  26. package/src/imports/index.ts +7 -7
  27. package/src/imports/parsers.ts +13 -13
  28. package/src/imports/plugins.ts +17 -17
  29. package/src/index.spec.ts +11 -11
  30. package/src/index.ts +22 -22
  31. package/src/rules/html/enable.ts +120 -120
  32. package/src/rules/html/index.ts +3 -3
  33. package/src/rules/index.ts +19 -19
  34. package/src/rules/js/enable.ts +524 -524
  35. package/src/rules/js/index.ts +4 -4
  36. package/src/rules/js/stylistic.ts +611 -611
  37. package/src/rules/json/enable.ts +33 -33
  38. package/src/rules/json/enable_x.ts +95 -95
  39. package/src/rules/json/index.ts +4 -4
  40. package/src/rules/jsonc/index.ts +4 -4
  41. package/src/rules/jsonc/override.ts +16 -16
  42. package/src/rules/mocha/base.ts +7 -7
  43. package/src/rules/mocha/disable.ts +8 -8
  44. package/src/rules/mocha/enable.ts +53 -53
  45. package/src/rules/mocha/index.ts +7 -7
  46. package/src/rules/mochaJs/index.ts +7 -7
  47. package/src/rules/svelte/disable.ts +9 -9
  48. package/src/rules/svelte/disable_js.ts +11 -11
  49. package/src/rules/svelte/disable_ts.ts +9 -9
  50. package/src/rules/svelte/enable.ts +230 -230
  51. package/src/rules/svelte/enable_x.ts +20 -20
  52. package/src/rules/svelte/index.ts +15 -15
  53. package/src/rules/ts/disable.ts +22 -22
  54. package/src/rules/ts/disable_x.ts +32 -32
  55. package/src/rules/ts/enable.ts +550 -550
  56. package/src/rules/ts/enable_x.ts +115 -115
  57. package/src/rules/ts/index.ts +13 -13
  58. package/src/rules/yml/enable.ts +64 -64
  59. package/src/rules/yml/enable_x.ts +68 -68
  60. package/src/rules/yml/index.ts +4 -4
  61. package/tsconfig.json +163 -163
  62. package/typings/mocha.d.ts +3 -3
@@ -1,230 +1,230 @@
1
- import { enable, level, state } from "../../_strings";
2
-
3
- const
4
- { ERROR, OFF } = level,
5
- {
6
- Ignore,
7
- Never,
8
- Always,
9
- Below,
10
- Double,
11
- } = state;
12
-
13
- export default [
14
- enable,
15
- {
16
- // #region ERRORS
17
- // http://sveltejs.github.io/eslint-plugin-svelte/rules/#possible-errors
18
- "svelte/infinite-reactive-loop": ERROR,
19
- "svelte/no-dom-manipulating": ERROR,
20
- "svelte/no-dupe-else-if-blocks": ERROR,
21
- "svelte/no-dupe-on-directives": ERROR,
22
- "svelte/no-dupe-style-properties": ERROR,
23
- "svelte/no-dupe-use-directives": ERROR,
24
- "svelte/no-dynamic-slot-name": ERROR,
25
- "svelte/no-export-load-in-svelte-module-in-kit-pages": ERROR,
26
- "svelte/no-not-function-handler": ERROR,
27
- "svelte/no-object-in-text-mustaches": ERROR,
28
- "svelte/no-reactive-reassign": [
29
- ERROR,
30
- {
31
- props: true,
32
- },
33
- ],
34
- "svelte/no-shorthand-style-property-overrides": ERROR,
35
- "svelte/no-store-async": ERROR,
36
- "svelte/no-unknown-style-directive-property": [
37
- ERROR,
38
- {
39
- ignorePrefixed: true,
40
- },
41
- ],
42
- "svelte/require-store-callbacks-use-set-param": ERROR,
43
- "svelte/require-store-reactive-access": ERROR,
44
- "svelte/valid-compile": [
45
- ERROR,
46
- {
47
- ignoreWarnings: false,
48
- },
49
- ],
50
- "svelte/valid-prop-names-in-kit-pages": ERROR,
51
-
52
- // #endregion ERRORS
53
-
54
- // #region SECURITY
55
- // http://sveltejs.github.io/eslint-plugin-svelte/rules/#security-vulnerability
56
- "svelte/no-at-html-tags": ERROR,
57
- "svelte/no-target-blank": [
58
- ERROR,
59
- {
60
- allowReferrer: false,
61
- enforceDynamicLinks: Always,
62
- },
63
- ],
64
-
65
- // #endregion SECURITY
66
-
67
- // #region BEST PRACTICES
68
- // http://sveltejs.github.io/eslint-plugin-svelte/rules/#best-practices
69
- "svelte/block-lang": [
70
- ERROR,
71
- {
72
- enforceScriptPresent: true,
73
- enforceStylePresent: false,
74
- script: ["ts"],
75
- style: [
76
- "css",
77
- "scss",
78
- ],
79
- },
80
- ], /* INVESTIGATE: */
81
- "svelte/button-has-type": [
82
- ERROR,
83
- {
84
- button: true,
85
- submit: true,
86
- reset: true,
87
- },
88
- ],
89
- "svelte/no-at-debug-tags": ERROR,
90
- "svelte/no-ignored-unsubscribe": ERROR,
91
- "svelte/no-immutable-reactive-statements": ERROR,
92
- "svelte/no-inline-styles": [
93
- ERROR,
94
- {
95
- allowTransitions: false,
96
- },
97
- ],
98
- "svelte/no-reactive-functions": ERROR,
99
- "svelte/no-reactive-literals": ERROR,
100
- "svelte/no-svelte-internal": ERROR,
101
- "svelte/no-unused-class-name": ERROR, /* BUG: ESLint error if array empty */
102
- "svelte/no-unused-svelte-ignore": ERROR,
103
- "svelte/no-useless-mustaches": [
104
- ERROR,
105
- {
106
- ignoreIncludesComment: false,
107
- ignoreStringEscape: false,
108
- },
109
- ],
110
- "svelte/prefer-destructured-store-props": ERROR,
111
- "svelte/require-each-key": ERROR,
112
- "svelte/require-event-dispatcher-types": ERROR,
113
- "svelte/require-optimized-style-attribute": ERROR,
114
- "svelte/require-stores-init": ERROR,
115
- "svelte/valid-each-key": ERROR,
116
-
117
- // #endregion BEST PRACTICES
118
-
119
- // #region STYLE
120
- // http://sveltejs.github.io/eslint-plugin-svelte/rules/#stylistic-issues
121
- "svelte/derived-has-same-inputs-outputs": ERROR,
122
- "svelte/first-attribute-linebreak": [
123
- ERROR,
124
- {
125
- multiline: Below,
126
- singleline: Below,
127
- },
128
- ],
129
- "svelte/html-closing-bracket-spacing": [
130
- ERROR,
131
- {
132
- startTag: Never,
133
- endTag: Never,
134
- selfClosingTag: Always,
135
- },
136
- ],
137
- "svelte/html-quotes": [
138
- ERROR,
139
- {
140
- prefer: Double,
141
- dynamic: {
142
- quoted: false,
143
- avoidInvalidUnquotedInHTML: true,
144
- },
145
- },
146
- ],
147
- "svelte/html-self-closing": [
148
- ERROR,
149
- {
150
- "void": Always,
151
- foreign: Always,
152
- component: Always,
153
- svelte: Always,
154
- normal: Ignore,
155
- } /* always | never | ignore */,
156
- ],
157
- "svelte/indent": [
158
- ERROR,
159
- {
160
- indent: 2,
161
- switchCase: 1,
162
- alignAttributesVertically: true,
163
- },
164
- ],
165
- "svelte/max-attributes-per-line": [
166
- ERROR,
167
- {
168
- multiline: 1,
169
- singleline: 1,
170
- },
171
- ],
172
- "svelte/mustache-spacing": [
173
- ERROR,
174
- {
175
- textExpressions: Never /* or ALWAYS */,
176
- attributesAndProps: Never /* or ALWAYS */,
177
- directiveExpressions: Never /* or ALWAYS */,
178
- tags: {
179
- openingBrace: Never /* or ALWAYS */,
180
- closingBrace: Never /* or ALWAYS or "always-after-expression" */,
181
- },
182
- },
183
- ],
184
- "svelte/no-extra-reactive-curlies": ERROR,
185
- "svelte/no-restricted-html-elements": OFF,
186
- "svelte/no-spaces-around-equal-signs-in-attribute": ERROR,
187
- "svelte/prefer-class-directive": [
188
- ERROR,
189
- {
190
- prefer: "empty",
191
- },
192
- ],
193
- "svelte/prefer-style-directive": ERROR,
194
- "svelte/shorthand-attribute": [
195
- ERROR,
196
- {
197
- prefer: Always,
198
- },
199
- ],
200
- "svelte/shorthand-directive": [
201
- ERROR,
202
- {
203
- prefer: Always,
204
- },
205
- ],
206
- "svelte/sort-attributes": OFF /* INVESTIGATE: */,
207
- "svelte/spaced-html-comment": [ERROR, Always],
208
-
209
- // #endregion STYLE
210
-
211
- // #region SVELTE-KIT
212
- // http://sveltejs.github.io/eslint-plugin-svelte/rules/#svelte-kit
213
- "svelte/no-goto-without-base": ERROR,
214
-
215
- // #endregion SVELTE-KIT
216
-
217
- // #region REQUIRED
218
- // http://sveltejs.github.io/eslint-plugin-svelte/rules/#system
219
- "svelte/comment-directive": [
220
- ERROR,
221
- {
222
- reportUnusedDisableDirectives: true,
223
- },
224
- ],
225
- "svelte/system": ERROR,
226
-
227
- // #endregion REQUIRED
228
-
229
- },
230
- ] as const;
1
+ import { enable, level, state } from "../../_strings";
2
+
3
+ const
4
+ { ERROR, OFF } = level,
5
+ {
6
+ Ignore,
7
+ Never,
8
+ Always,
9
+ Below,
10
+ Double,
11
+ } = state;
12
+
13
+ export default [
14
+ enable,
15
+ {
16
+ // #region ERRORS
17
+ // http://sveltejs.github.io/eslint-plugin-svelte/rules/#possible-errors
18
+ "svelte/infinite-reactive-loop": ERROR,
19
+ "svelte/no-dom-manipulating": ERROR,
20
+ "svelte/no-dupe-else-if-blocks": ERROR,
21
+ "svelte/no-dupe-on-directives": ERROR,
22
+ "svelte/no-dupe-style-properties": ERROR,
23
+ "svelte/no-dupe-use-directives": ERROR,
24
+ "svelte/no-dynamic-slot-name": ERROR,
25
+ "svelte/no-export-load-in-svelte-module-in-kit-pages": ERROR,
26
+ "svelte/no-not-function-handler": ERROR,
27
+ "svelte/no-object-in-text-mustaches": ERROR,
28
+ "svelte/no-reactive-reassign": [
29
+ ERROR,
30
+ {
31
+ props: true,
32
+ },
33
+ ],
34
+ "svelte/no-shorthand-style-property-overrides": ERROR,
35
+ "svelte/no-store-async": ERROR,
36
+ "svelte/no-unknown-style-directive-property": [
37
+ ERROR,
38
+ {
39
+ ignorePrefixed: true,
40
+ },
41
+ ],
42
+ "svelte/require-store-callbacks-use-set-param": ERROR,
43
+ "svelte/require-store-reactive-access": ERROR,
44
+ "svelte/valid-compile": [
45
+ ERROR,
46
+ {
47
+ ignoreWarnings: false,
48
+ },
49
+ ],
50
+ "svelte/valid-prop-names-in-kit-pages": ERROR,
51
+
52
+ // #endregion ERRORS
53
+
54
+ // #region SECURITY
55
+ // http://sveltejs.github.io/eslint-plugin-svelte/rules/#security-vulnerability
56
+ "svelte/no-at-html-tags": ERROR,
57
+ "svelte/no-target-blank": [
58
+ ERROR,
59
+ {
60
+ allowReferrer: false,
61
+ enforceDynamicLinks: Always,
62
+ },
63
+ ],
64
+
65
+ // #endregion SECURITY
66
+
67
+ // #region BEST PRACTICES
68
+ // http://sveltejs.github.io/eslint-plugin-svelte/rules/#best-practices
69
+ "svelte/block-lang": [
70
+ ERROR,
71
+ {
72
+ enforceScriptPresent: true,
73
+ enforceStylePresent: false,
74
+ script: ["ts"],
75
+ style: [
76
+ "css",
77
+ "scss",
78
+ ],
79
+ },
80
+ ], /* INVESTIGATE: */
81
+ "svelte/button-has-type": [
82
+ ERROR,
83
+ {
84
+ button: true,
85
+ submit: true,
86
+ reset: true,
87
+ },
88
+ ],
89
+ "svelte/no-at-debug-tags": ERROR,
90
+ "svelte/no-ignored-unsubscribe": ERROR,
91
+ "svelte/no-immutable-reactive-statements": ERROR,
92
+ "svelte/no-inline-styles": [
93
+ ERROR,
94
+ {
95
+ allowTransitions: false,
96
+ },
97
+ ],
98
+ "svelte/no-reactive-functions": ERROR,
99
+ "svelte/no-reactive-literals": ERROR,
100
+ "svelte/no-svelte-internal": ERROR,
101
+ "svelte/no-unused-class-name": ERROR, /* BUG: ESLint error if array empty */
102
+ "svelte/no-unused-svelte-ignore": ERROR,
103
+ "svelte/no-useless-mustaches": [
104
+ ERROR,
105
+ {
106
+ ignoreIncludesComment: false,
107
+ ignoreStringEscape: false,
108
+ },
109
+ ],
110
+ "svelte/prefer-destructured-store-props": ERROR,
111
+ "svelte/require-each-key": ERROR,
112
+ "svelte/require-event-dispatcher-types": ERROR,
113
+ "svelte/require-optimized-style-attribute": ERROR,
114
+ "svelte/require-stores-init": ERROR,
115
+ "svelte/valid-each-key": ERROR,
116
+
117
+ // #endregion BEST PRACTICES
118
+
119
+ // #region STYLE
120
+ // http://sveltejs.github.io/eslint-plugin-svelte/rules/#stylistic-issues
121
+ "svelte/derived-has-same-inputs-outputs": ERROR,
122
+ "svelte/first-attribute-linebreak": [
123
+ ERROR,
124
+ {
125
+ multiline: Below,
126
+ singleline: Below,
127
+ },
128
+ ],
129
+ "svelte/html-closing-bracket-spacing": [
130
+ ERROR,
131
+ {
132
+ startTag: Never,
133
+ endTag: Never,
134
+ selfClosingTag: Always,
135
+ },
136
+ ],
137
+ "svelte/html-quotes": [
138
+ ERROR,
139
+ {
140
+ prefer: Double,
141
+ dynamic: {
142
+ quoted: false,
143
+ avoidInvalidUnquotedInHTML: true,
144
+ },
145
+ },
146
+ ],
147
+ "svelte/html-self-closing": [
148
+ ERROR,
149
+ {
150
+ "void": Always,
151
+ foreign: Always,
152
+ component: Always,
153
+ svelte: Always,
154
+ normal: Ignore,
155
+ } /* always | never | ignore */,
156
+ ],
157
+ "svelte/indent": [
158
+ ERROR,
159
+ {
160
+ indent: 2,
161
+ switchCase: 1,
162
+ alignAttributesVertically: true,
163
+ },
164
+ ],
165
+ "svelte/max-attributes-per-line": [
166
+ ERROR,
167
+ {
168
+ multiline: 1,
169
+ singleline: 1,
170
+ },
171
+ ],
172
+ "svelte/mustache-spacing": [
173
+ ERROR,
174
+ {
175
+ textExpressions: Never /* or ALWAYS */,
176
+ attributesAndProps: Never /* or ALWAYS */,
177
+ directiveExpressions: Never /* or ALWAYS */,
178
+ tags: {
179
+ openingBrace: Never /* or ALWAYS */,
180
+ closingBrace: Never /* or ALWAYS or "always-after-expression" */,
181
+ },
182
+ },
183
+ ],
184
+ "svelte/no-extra-reactive-curlies": ERROR,
185
+ "svelte/no-restricted-html-elements": OFF,
186
+ "svelte/no-spaces-around-equal-signs-in-attribute": ERROR,
187
+ "svelte/prefer-class-directive": [
188
+ ERROR,
189
+ {
190
+ prefer: "empty",
191
+ },
192
+ ],
193
+ "svelte/prefer-style-directive": ERROR,
194
+ "svelte/shorthand-attribute": [
195
+ ERROR,
196
+ {
197
+ prefer: Always,
198
+ },
199
+ ],
200
+ "svelte/shorthand-directive": [
201
+ ERROR,
202
+ {
203
+ prefer: Always,
204
+ },
205
+ ],
206
+ "svelte/sort-attributes": OFF /* INVESTIGATE: */,
207
+ "svelte/spaced-html-comment": [ERROR, Always],
208
+
209
+ // #endregion STYLE
210
+
211
+ // #region SVELTE-KIT
212
+ // http://sveltejs.github.io/eslint-plugin-svelte/rules/#svelte-kit
213
+ "svelte/no-goto-without-base": ERROR,
214
+
215
+ // #endregion SVELTE-KIT
216
+
217
+ // #region REQUIRED
218
+ // http://sveltejs.github.io/eslint-plugin-svelte/rules/#system
219
+ "svelte/comment-directive": [
220
+ ERROR,
221
+ {
222
+ reportUnusedDisableDirectives: true,
223
+ },
224
+ ],
225
+ "svelte/system": ERROR,
226
+
227
+ // #endregion REQUIRED
228
+
229
+ },
230
+ ] as const;
@@ -1,20 +1,20 @@
1
- import { enable_x, level, state } from "../../_strings";
2
-
3
- const
4
- { ERROR, OFF } = level,
5
- { Allow, Both } = state;
6
-
7
- export default [
8
- enable_x,
9
- {
10
- // http://sveltejs.github.io/eslint-plugin-svelte/rules/#extension-rules
11
- "svelte/no-inner-declarations": [
12
- ERROR,
13
- Both,
14
- {
15
- blockScopedFunctions: Allow,
16
- },
17
- ] /* Same options as in JsEnable */,
18
- "svelte/no-trailing-spaces": OFF /* Only applies to HTML comments, which I don't intend to use: http://sveltejs.github.io/eslint-plugin-svelte/rules/no-trailing-spaces/ */,
19
- },
20
- ] as const;
1
+ import { enable_x, level, state } from "../../_strings";
2
+
3
+ const
4
+ { ERROR, OFF } = level,
5
+ { Allow, Both } = state;
6
+
7
+ export default [
8
+ enable_x,
9
+ {
10
+ // http://sveltejs.github.io/eslint-plugin-svelte/rules/#extension-rules
11
+ "svelte/no-inner-declarations": [
12
+ ERROR,
13
+ Both,
14
+ {
15
+ blockScopedFunctions: Allow,
16
+ },
17
+ ] /* Same options as in JsEnable */,
18
+ "svelte/no-trailing-spaces": OFF /* Only applies to HTML comments, which I don't intend to use: http://sveltejs.github.io/eslint-plugin-svelte/rules/no-trailing-spaces/ */,
19
+ },
20
+ ] as const;
@@ -1,15 +1,15 @@
1
- import ts from "../ts";
2
- import disable_js from "./disable_js";
3
- import disable_ts from "./disable_ts";
4
- import disable from "./disable";
5
- import enable_x from "./enable_x";
6
- import enable from "./enable";
7
-
8
- export default [
9
- ...ts,
10
- disable_js,
11
- disable_ts,
12
- disable,
13
- enable_x,
14
- enable,
15
- ];
1
+ import ts from "../ts";
2
+ import disable_js from "./disable_js";
3
+ import disable_ts from "./disable_ts";
4
+ import disable from "./disable";
5
+ import enable_x from "./enable_x";
6
+ import enable from "./enable";
7
+
8
+ export default [
9
+ ...ts,
10
+ disable_js,
11
+ disable_ts,
12
+ disable,
13
+ enable_x,
14
+ enable,
15
+ ];
@@ -1,22 +1,22 @@
1
- import { disable, OFF } from "../../_strings";
2
-
3
- export default [
4
- disable,
5
- {
6
- // Handled by TypeScript compiler
7
- "constructor-super": OFF,
8
- "no-const-assign": OFF,
9
- "no-dupe-args": OFF,
10
- "no-dupe-class-members": OFF,
11
- "no-dupe-keys": OFF,
12
- "no-func-assign": OFF,
13
- "no-obj-calls": OFF,
14
- "no-setter-return": OFF,
15
- "no-this-before-super": OFF,
16
- "no-undef": OFF,
17
- "no-unreachable": OFF,
18
- "no-unsafe-negation": OFF,
19
- "consistent-return": OFF,
20
- "no-redeclare": OFF,
21
- },
22
- ] as const;
1
+ import { disable, OFF } from "../../_strings";
2
+
3
+ export default [
4
+ disable,
5
+ {
6
+ // Handled by TypeScript compiler
7
+ "constructor-super": OFF,
8
+ "no-const-assign": OFF,
9
+ "no-dupe-args": OFF,
10
+ "no-dupe-class-members": OFF,
11
+ "no-dupe-keys": OFF,
12
+ "no-func-assign": OFF,
13
+ "no-obj-calls": OFF,
14
+ "no-setter-return": OFF,
15
+ "no-this-before-super": OFF,
16
+ "no-undef": OFF,
17
+ "no-unreachable": OFF,
18
+ "no-unsafe-negation": OFF,
19
+ "consistent-return": OFF,
20
+ "no-redeclare": OFF,
21
+ },
22
+ ] as const;
@@ -1,32 +1,32 @@
1
- import { disable_x, OFF } from "../../_strings";
2
-
3
- export default [
4
- disable_x,
5
- {
6
- // https://typescript-eslint.io/rules/?=extension-xdeprecated#rules
7
- "class-methods-use-this": OFF,
8
- "consistent-return": OFF,
9
- "default-param-last": OFF,
10
- "dot-notation": OFF,
11
- "init-declarations": OFF,
12
- "max-params": OFF,
13
- "no-array-constructor": OFF,
14
- "no-dupe-class-members": OFF,
15
- "no-empty-function": OFF,
16
- "no-implied-eval": OFF,
17
- "no-invalid-this": OFF,
18
- "no-loop-func": OFF,
19
- "no-magic-numbers": OFF,
20
- "no-redeclare": OFF,
21
- "no-restricted-imports": OFF,
22
- "no-shadow": OFF,
23
- "no-throw-literal": OFF /* @typescript-eslint/only-throw-error */,
24
- "no-unused-expressions": OFF,
25
- "no-unused-vars": OFF,
26
- "no-use-before-define": OFF,
27
- "no-useless-constructor": OFF,
28
- "prefer-destructuring": OFF,
29
- "prefer-promise-reject-errors": OFF,
30
- "require-await": OFF,
31
- },
32
- ] as const;
1
+ import { disable_x, OFF } from "../../_strings";
2
+
3
+ export default [
4
+ disable_x,
5
+ {
6
+ // https://typescript-eslint.io/rules/?=extension-xdeprecated#rules
7
+ "class-methods-use-this": OFF,
8
+ "consistent-return": OFF,
9
+ "default-param-last": OFF,
10
+ "dot-notation": OFF,
11
+ "init-declarations": OFF,
12
+ "max-params": OFF,
13
+ "no-array-constructor": OFF,
14
+ "no-dupe-class-members": OFF,
15
+ "no-empty-function": OFF,
16
+ "no-implied-eval": OFF,
17
+ "no-invalid-this": OFF,
18
+ "no-loop-func": OFF,
19
+ "no-magic-numbers": OFF,
20
+ "no-redeclare": OFF,
21
+ "no-restricted-imports": OFF,
22
+ "no-shadow": OFF,
23
+ "no-throw-literal": OFF /* @typescript-eslint/only-throw-error */,
24
+ "no-unused-expressions": OFF,
25
+ "no-unused-vars": OFF,
26
+ "no-use-before-define": OFF,
27
+ "no-useless-constructor": OFF,
28
+ "prefer-destructuring": OFF,
29
+ "prefer-promise-reject-errors": OFF,
30
+ "require-await": OFF,
31
+ },
32
+ ] as const;