eslint-config-deepcrawl 16.0.0 → 16.0.1
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/index.js +0 -10
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -14,7 +14,6 @@ import typescriptEslint from "typescript-eslint";
|
|
|
14
14
|
|
|
15
15
|
export default defineConfig([
|
|
16
16
|
{ linterOptions: { reportUnusedDisableDirectives: true } },
|
|
17
|
-
|
|
18
17
|
eslintJs.configs.recommended,
|
|
19
18
|
importXPlugin.flatConfigs.recommended,
|
|
20
19
|
importXPlugin.flatConfigs.typescript,
|
|
@@ -29,7 +28,6 @@ export default defineConfig([
|
|
|
29
28
|
"package-json/sort-collections": ["error", ["devDependencies", "dependencies", "peerDependencies", "config"]],
|
|
30
29
|
},
|
|
31
30
|
},
|
|
32
|
-
|
|
33
31
|
{
|
|
34
32
|
files: ["**/*.{cts,mts,ts,tsx}"],
|
|
35
33
|
extends: [typescriptEslint.configs.recommendedTypeChecked],
|
|
@@ -39,7 +37,6 @@ export default defineConfig([
|
|
|
39
37
|
files: ["**/*.{cjs,js,jsx,mjs}"],
|
|
40
38
|
extends: [typescriptEslint.configs.disableTypeChecked],
|
|
41
39
|
},
|
|
42
|
-
|
|
43
40
|
{
|
|
44
41
|
plugins: { "array-func": arrayFuncPlugin },
|
|
45
42
|
rules: { "array-func/avoid-reverse": "error" },
|
|
@@ -74,9 +71,7 @@ export default defineConfig([
|
|
|
74
71
|
"sonarjs/prefer-while": "error",
|
|
75
72
|
},
|
|
76
73
|
},
|
|
77
|
-
|
|
78
74
|
eslintConfigPrettier,
|
|
79
|
-
|
|
80
75
|
{
|
|
81
76
|
files: ["**/*.{cts,mts,ts,tsx}"],
|
|
82
77
|
rules: {
|
|
@@ -176,7 +171,6 @@ export default defineConfig([
|
|
|
176
171
|
"@typescript-eslint/unified-signatures": "error",
|
|
177
172
|
},
|
|
178
173
|
},
|
|
179
|
-
|
|
180
174
|
{
|
|
181
175
|
plugins: { "@stylistic": stylisticPlugin },
|
|
182
176
|
rules: {
|
|
@@ -211,10 +205,6 @@ export default defineConfig([
|
|
|
211
205
|
"max-classes-per-file": ["error", 1],
|
|
212
206
|
"max-lines-per-function": ["warn", { max: 40, skipBlankLines: true, skipComments: true, IIFEs: true }],
|
|
213
207
|
"max-params": ["error", 7],
|
|
214
|
-
"@stylistic/max-len": [
|
|
215
|
-
"error",
|
|
216
|
-
{ code: 120, ignoreComments: true, ignorePattern: "^(export|import)\\b", ignoreTemplateLiterals: true },
|
|
217
|
-
],
|
|
218
208
|
"@stylistic/max-statements-per-line": ["error", { max: 1 }],
|
|
219
209
|
"@stylistic/spaced-comment": "error",
|
|
220
210
|
"n/no-missing-import": "off",
|