eslint-config-angular-strict 22.1.18 → 22.2.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/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']));
@@ -131,6 +131,7 @@ export default [
131
131
  '@typescript-eslint/no-deprecated': 'error',
132
132
  '@typescript-eslint/no-dynamic-delete': 'error',
133
133
  '@typescript-eslint/no-extraneous-class': ['error', { allowEmpty: true, allowStaticOnly: true }],
134
+ '@typescript-eslint/no-floating-promises': 'error',
134
135
  '@typescript-eslint/no-loop-func': 'off',
135
136
  '@typescript-eslint/no-non-null-assertion': 'off',
136
137
  '@typescript-eslint/no-unnecessary-condition': 'error',
@@ -281,7 +282,7 @@ export default [
281
282
  'perfectionist/sort-union-types': ['error', { groups: ['unknown', 'nullish'] }],
282
283
 
283
284
  // Unicorn rules
284
- '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
285
286
  'unicorn/consistent-class-member-order': 'off',
286
287
  'unicorn/consistent-function-scoping': ['error', { checkArrowFunctions: false }],
287
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.18",
3
+ "version": "22.2.0",
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.1.0",
39
- "@angular-eslint/eslint-plugin": "22.1.0",
40
- "@angular-eslint/eslint-plugin-template": "22.1.0",
41
- "@angular-eslint/template-parser": "22.1.0",
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.67.0",
44
- "@typescript-eslint/parser": "8.67.0",
45
- "eslint": "10.9.0",
43
+ "@typescript-eslint/eslint-plugin": "8.68.0",
44
+ "@typescript-eslint/parser": "8.68.0",
45
+ "eslint": "10.9.1",
46
46
  "eslint-config-airbnb-extended": "3.2.0",
47
47
  "eslint-plugin-import-x": "4.17.1",
48
48
  "eslint-plugin-perfectionist": "5.10.1",
49
- "eslint-plugin-unicorn": "73.0.0"
49
+ "eslint-plugin-unicorn": "74.0.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "typescript": "6.0.3"