eslint-config-deepcrawl 16.0.3 → 16.0.5
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 +1 -20
- package/package.json +2 -3
package/index.js
CHANGED
|
@@ -8,7 +8,6 @@ import jestPlugin from "eslint-plugin-jest";
|
|
|
8
8
|
import nodePlugin from "eslint-plugin-n";
|
|
9
9
|
import noLoopsPlugin from "eslint-plugin-no-loops";
|
|
10
10
|
import packageJsonPlugin from "eslint-plugin-package-json";
|
|
11
|
-
import perfectionist from "eslint-plugin-perfectionist";
|
|
12
11
|
import promisePlugin from "eslint-plugin-promise";
|
|
13
12
|
import sonarjsPlugin from "eslint-plugin-sonarjs";
|
|
14
13
|
import typescriptEslint from "typescript-eslint";
|
|
@@ -173,7 +172,7 @@ export default defineConfig([
|
|
|
173
172
|
},
|
|
174
173
|
},
|
|
175
174
|
{
|
|
176
|
-
plugins: { "@stylistic": stylisticPlugin
|
|
175
|
+
plugins: { "@stylistic": stylisticPlugin },
|
|
177
176
|
rules: {
|
|
178
177
|
complexity: ["error", 15],
|
|
179
178
|
"default-case-last": "error",
|
|
@@ -225,24 +224,6 @@ export default defineConfig([
|
|
|
225
224
|
"no-self-assign": "error",
|
|
226
225
|
"no-unreachable-loop": "error",
|
|
227
226
|
"object-shorthand": "error",
|
|
228
|
-
"perfectionist/sort-intersection-types": [
|
|
229
|
-
"error",
|
|
230
|
-
{
|
|
231
|
-
type: "natural",
|
|
232
|
-
order: "asc",
|
|
233
|
-
ignoreCase: true,
|
|
234
|
-
specialCharacters: "keep",
|
|
235
|
-
},
|
|
236
|
-
],
|
|
237
|
-
"perfectionist/sort-union-types": [
|
|
238
|
-
"error",
|
|
239
|
-
{
|
|
240
|
-
type: "natural",
|
|
241
|
-
order: "asc",
|
|
242
|
-
ignoreCase: true,
|
|
243
|
-
specialCharacters: "keep",
|
|
244
|
-
},
|
|
245
|
-
],
|
|
246
227
|
"prefer-template": "error",
|
|
247
228
|
"promise/prefer-await-to-then": "error",
|
|
248
229
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-deepcrawl",
|
|
3
|
-
"version": "16.0.
|
|
3
|
+
"version": "16.0.5",
|
|
4
4
|
"description": "ESLint rules recommended by Lumar (formerly DeepCrawl).",
|
|
5
5
|
"homepage": "https://github.com/deepcrawl/eslint-config",
|
|
6
6
|
"bugs": {
|
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
"eslint-plugin-n": "^18.0.1",
|
|
33
33
|
"eslint-plugin-no-loops": "^0.4.0",
|
|
34
34
|
"eslint-plugin-package-json": "^1.1.0",
|
|
35
|
-
"eslint-plugin-perfectionist": "^5.9.0",
|
|
36
35
|
"eslint-plugin-promise": "^7.3.0",
|
|
37
36
|
"eslint-plugin-sonarjs": "^4.0.3",
|
|
38
37
|
"typescript-eslint": "^8.59.4"
|
|
@@ -45,7 +44,7 @@
|
|
|
45
44
|
"eslint": "^10.0.0",
|
|
46
45
|
"typescript": ">=5.8"
|
|
47
46
|
},
|
|
48
|
-
"packageManager": "yarn@4.
|
|
47
|
+
"packageManager": "yarn@4.14.1",
|
|
49
48
|
"publishConfig": {
|
|
50
49
|
"registry": "https://registry.npmjs.org/"
|
|
51
50
|
}
|