eslint-config-deepcrawl 10.0.0 → 12.0.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/index.js +6 -9
- package/package.json +10 -10
package/README.md
CHANGED
package/index.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
module.exports = {
|
|
2
2
|
extends: [
|
|
3
3
|
"eslint:recommended",
|
|
4
|
-
"plugin:@typescript-eslint/recommended",
|
|
5
|
-
"plugin:@typescript-eslint/recommended-requiring-type-checking",
|
|
4
|
+
"plugin:@typescript-eslint/recommended-type-checked",
|
|
6
5
|
"plugin:eslint-plugin-import/recommended",
|
|
7
6
|
"plugin:eslint-plugin-import/typescript",
|
|
8
7
|
"plugin:eslint-plugin-jest/recommended",
|
|
@@ -162,6 +161,8 @@ module.exports = {
|
|
|
162
161
|
prefix: ["T"]
|
|
163
162
|
},
|
|
164
163
|
],
|
|
164
|
+
"@typescript-eslint/no-base-to-string": "off",
|
|
165
|
+
"@typescript-eslint/no-duplicate-enum-values": "off",
|
|
165
166
|
"@typescript-eslint/no-empty-function": [
|
|
166
167
|
"error",
|
|
167
168
|
{
|
|
@@ -196,9 +197,10 @@ module.exports = {
|
|
|
196
197
|
},
|
|
197
198
|
],
|
|
198
199
|
"@typescript-eslint/no-unnecessary-type-arguments": "error",
|
|
199
|
-
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
200
200
|
"@typescript-eslint/no-unsafe-argument": "off",
|
|
201
|
+
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
201
202
|
"@typescript-eslint/no-unsafe-call": "off",
|
|
203
|
+
"@typescript-eslint/no-unsafe-enum-comparison": "off",
|
|
202
204
|
"@typescript-eslint/no-unsafe-member-access": "off",
|
|
203
205
|
"@typescript-eslint/no-unsafe-return": "off",
|
|
204
206
|
"@typescript-eslint/no-unused-vars": [
|
|
@@ -209,17 +211,12 @@ module.exports = {
|
|
|
209
211
|
},
|
|
210
212
|
],
|
|
211
213
|
"@typescript-eslint/no-useless-constructor": "error",
|
|
212
|
-
"@typescript-eslint/prefer-for-of": "error",
|
|
213
|
-
"@typescript-eslint/prefer-function-type": "error",
|
|
214
214
|
"@typescript-eslint/prefer-includes": "error",
|
|
215
|
-
"@typescript-eslint/prefer-nullish-coalescing": "error",
|
|
216
|
-
"@typescript-eslint/prefer-optional-chain": "error",
|
|
217
215
|
"@typescript-eslint/prefer-regexp-exec": "error",
|
|
218
|
-
"@typescript-eslint/prefer-string-starts-ends-with": "error",
|
|
219
216
|
"@typescript-eslint/require-array-sort-compare": "error",
|
|
220
217
|
"@typescript-eslint/restrict-template-expressions": "off",
|
|
221
218
|
"@typescript-eslint/return-await": "error",
|
|
222
|
-
"@typescript-eslint/sort-type-
|
|
219
|
+
"@typescript-eslint/sort-type-constituents": "error",
|
|
223
220
|
"@typescript-eslint/unified-signatures": "error",
|
|
224
221
|
"array-func/avoid-reverse": "error",
|
|
225
222
|
"clean-code/feature-envy": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-deepcrawl",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.0",
|
|
4
4
|
"description": "ESLint rules recommended by DeepCrawl.",
|
|
5
5
|
"homepage": "https://github.com/deepcrawl/eslint-config",
|
|
6
6
|
"bugs": {
|
|
@@ -21,22 +21,22 @@
|
|
|
21
21
|
},
|
|
22
22
|
"scripts": {},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
25
|
-
"@typescript-eslint/parser": "^
|
|
26
|
-
"eslint-config-prettier": "^
|
|
27
|
-
"eslint-plugin-array-func": "^
|
|
24
|
+
"@typescript-eslint/eslint-plugin": "^6.7.5",
|
|
25
|
+
"@typescript-eslint/parser": "^6.7.5",
|
|
26
|
+
"eslint-config-prettier": "^9.0.0",
|
|
27
|
+
"eslint-plugin-array-func": "^4.0.0",
|
|
28
28
|
"eslint-plugin-clean-code": "^0.1.12",
|
|
29
29
|
"eslint-plugin-filenames": "^1.3.2",
|
|
30
|
-
"eslint-plugin-import": "^2.
|
|
31
|
-
"eslint-plugin-jest": "^27.2
|
|
30
|
+
"eslint-plugin-import": "^2.28.1",
|
|
31
|
+
"eslint-plugin-jest": "^27.4.2",
|
|
32
32
|
"eslint-plugin-json-format": "^2.0.1",
|
|
33
33
|
"eslint-plugin-no-loops": "^0.3.0",
|
|
34
34
|
"eslint-plugin-node": "^11.1.0",
|
|
35
35
|
"eslint-plugin-promise": "^6.1.1",
|
|
36
|
-
"eslint-plugin-sonarjs": "^0.
|
|
36
|
+
"eslint-plugin-sonarjs": "^0.21.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"eslint": ">=8.
|
|
40
|
-
"typescript": ">=
|
|
39
|
+
"eslint": ">=8.51.0",
|
|
40
|
+
"typescript": ">=5.1"
|
|
41
41
|
}
|
|
42
42
|
}
|