eslint-config-angular-strict 22.0.2 → 22.0.3
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 +3 -2
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -48,7 +48,7 @@ export default [
|
|
|
48
48
|
// ESLint rules
|
|
49
49
|
'class-methods-use-this': 'off',
|
|
50
50
|
'complexity': ['error', { max: 25 }],
|
|
51
|
-
'max-depth':
|
|
51
|
+
'max-depth': 'error',
|
|
52
52
|
'max-lines': ['error', { max: 425, skipBlankLines: true, skipComments: true }],
|
|
53
53
|
'no-fallthrough': 'off',
|
|
54
54
|
'no-param-reassign': ['error', { props: false }],
|
|
@@ -277,7 +277,7 @@ export default [
|
|
|
277
277
|
'unicorn/consistent-function-scoping': ['error', { checkArrowFunctions: false }],
|
|
278
278
|
'unicorn/new-for-builtins': 'off',
|
|
279
279
|
'unicorn/no-abusive-eslint-disable': 'off',
|
|
280
|
-
'unicorn/no-
|
|
280
|
+
'unicorn/no-for-each': 'off',
|
|
281
281
|
'unicorn/no-null': 'off',
|
|
282
282
|
'unicorn/no-this-outside-of-class': 'off',
|
|
283
283
|
'unicorn/prefer-includes-over-repeated-comparisons': ['error', { minimumComparisons: 6 }],
|
|
@@ -308,6 +308,7 @@ export default [
|
|
|
308
308
|
'@angular-eslint/template/prefer-ngsrc': 'off',
|
|
309
309
|
|
|
310
310
|
// Unicorn rules
|
|
311
|
+
'unicorn/no-empty-file': 'off',
|
|
311
312
|
'unicorn/prefer-string-raw': 'off',
|
|
312
313
|
'unicorn/template-indent': 'off',
|
|
313
314
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-angular-strict",
|
|
3
|
-
"version": "22.0.
|
|
3
|
+
"version": "22.0.3",
|
|
4
4
|
"description": "Modern ESLint configuration with strict rules for Angular development.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"eslint-config-airbnb-extended": "3.1.0",
|
|
49
49
|
"eslint-plugin-import-x": "4.16.2",
|
|
50
50
|
"eslint-plugin-perfectionist": "5.9.0",
|
|
51
|
-
"eslint-plugin-unicorn": "
|
|
51
|
+
"eslint-plugin-unicorn": "66.0.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"typescript": "6.0.3"
|
|
55
55
|
},
|
|
56
|
-
"packageManager": "yarn@4.
|
|
56
|
+
"packageManager": "yarn@4.17.0+sha512.c2957de2f9025ab14d63b24d0d8be1f1655810e22c341042c27f7ecd017b180ec12db73d69ac366d71b304ef9f069349ce462de96f04f8f1da317f4f762c95ae"
|
|
57
57
|
}
|