eslint-config-angular-strict 22.1.19 → 22.2.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
CHANGED
|
@@ -9,7 +9,7 @@ import tsEslintParser from '@typescript-eslint/parser';
|
|
|
9
9
|
import tsEslintPlugin from '@typescript-eslint/eslint-plugin';
|
|
10
10
|
import unicornPlugin from 'eslint-plugin-unicorn';
|
|
11
11
|
|
|
12
|
-
import { noRestrictedSyntaxOverrides, noRestrictedSyntaxRule } from './file-conventions.js';
|
|
12
|
+
import { noRestrictedSyntaxOverrides, noRestrictedSyntaxRule } from './rules/file-conventions.js';
|
|
13
13
|
|
|
14
14
|
// @angular-eslint v22 dropped the `configs` export — manually enable all rules instead
|
|
15
15
|
const enableAllRules = (plugin, prefix) => Object.fromEntries(Object.keys(plugin.rules).map(k => [`${prefix}/${k}`, 'error']));
|
|
@@ -282,7 +282,7 @@ export default [
|
|
|
282
282
|
'perfectionist/sort-union-types': ['error', { groups: ['unknown', 'nullish'] }],
|
|
283
283
|
|
|
284
284
|
// Unicorn rules
|
|
285
|
-
'unicorn/consistent-arrow-return-style': 'off',
|
|
285
|
+
'unicorn/consistent-arrow-return-style': 'off', // conflicts with airbnb's `arrow-body-style: as-needed`, the two fixers fight
|
|
286
286
|
'unicorn/consistent-class-member-order': 'off',
|
|
287
287
|
'unicorn/consistent-function-scoping': ['error', { checkArrowFunctions: false }],
|
|
288
288
|
'unicorn/new-for-builtins': 'off',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-angular-strict",
|
|
3
|
-
"version": "22.1
|
|
3
|
+
"version": "22.2.1",
|
|
4
4
|
"description": "Modern ESLint configuration with strict rules for Angular development.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -32,21 +32,21 @@
|
|
|
32
32
|
".": "./index.js"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
|
-
"test": "cd tests && yarn install && eslint . --format=stylish"
|
|
35
|
+
"test": "node scripts/check-rule-names.js && cd tests && yarn install && eslint . --format=stylish"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@angular-eslint/builder": "22.
|
|
39
|
-
"@angular-eslint/eslint-plugin": "22.
|
|
40
|
-
"@angular-eslint/eslint-plugin-template": "22.
|
|
41
|
-
"@angular-eslint/template-parser": "22.
|
|
38
|
+
"@angular-eslint/builder": "22.2.0",
|
|
39
|
+
"@angular-eslint/eslint-plugin": "22.2.0",
|
|
40
|
+
"@angular-eslint/eslint-plugin-template": "22.2.0",
|
|
41
|
+
"@angular-eslint/template-parser": "22.2.0",
|
|
42
42
|
"@stylistic/eslint-plugin": "5.10.0",
|
|
43
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
44
|
-
"@typescript-eslint/parser": "8.
|
|
43
|
+
"@typescript-eslint/eslint-plugin": "8.69.0",
|
|
44
|
+
"@typescript-eslint/parser": "8.69.0",
|
|
45
45
|
"eslint": "10.9.1",
|
|
46
46
|
"eslint-config-airbnb-extended": "3.2.0",
|
|
47
47
|
"eslint-plugin-import-x": "4.17.1",
|
|
48
|
-
"eslint-plugin-perfectionist": "5.
|
|
49
|
-
"eslint-plugin-unicorn": "
|
|
48
|
+
"eslint-plugin-perfectionist": "5.11.0",
|
|
49
|
+
"eslint-plugin-unicorn": "74.0.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"typescript": "6.0.3"
|
|
File without changes
|