eslint-config-angular-strict 2.2.69 → 2.2.70

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.
Files changed (2) hide show
  1. package/index.js +13 -12
  2. package/package.json +11 -11
package/index.js CHANGED
@@ -1,34 +1,34 @@
1
- import angular from '@angular-eslint/eslint-plugin';
2
- import angularTemplate from '@angular-eslint/eslint-plugin-template';
1
+ import angularEslintPlugin from '@angular-eslint/eslint-plugin';
3
2
  import angularTemplateParser from '@angular-eslint/template-parser';
4
- import eslintPluginUnicorn from 'eslint-plugin-unicorn';
5
- import importX from 'eslint-plugin-import-x';
3
+ import angularTemplatePlugin from '@angular-eslint/eslint-plugin-template';
4
+ import importXPlugin from 'eslint-plugin-import-x';
6
5
  import stylistic from '@stylistic/eslint-plugin';
7
- import tsEslint from '@typescript-eslint/eslint-plugin';
8
- import tsParser from '@typescript-eslint/parser';
6
+ import tsEslintParser from '@typescript-eslint/parser';
7
+ import tsEslintPlugin from '@typescript-eslint/eslint-plugin';
8
+ import unicornPlugin from 'eslint-plugin-unicorn';
9
9
  import { configs, rules } from 'eslint-config-airbnb-extended';
10
10
 
11
11
  export default [
12
12
  {
13
13
  ignores: ['dist/**', 'node_modules/**'],
14
14
  plugins: {
15
- '@angular-eslint/template': angularTemplate,
15
+ '@angular-eslint/template': angularTemplatePlugin,
16
16
  '@stylistic': stylistic,
17
- '@typescript-eslint': tsEslint,
18
- 'import-x': importX,
17
+ '@typescript-eslint': tsEslintPlugin,
18
+ 'import-x': importXPlugin,
19
19
  },
20
20
  },
21
21
 
22
22
  ...configs.base.all,
23
- eslintPluginUnicorn.configs.all,
23
+ unicornPlugin.configs.all,
24
24
  rules.base.importsStrict,
25
25
  rules.typescript.typescriptEslintStrict,
26
26
 
27
27
  // TypeScript files configuration
28
28
  {
29
29
  files: ['**/*.ts'],
30
- languageOptions: { parser: tsParser, parserOptions: { project: './tsconfig.json' } },
31
- plugins: { '@angular-eslint': angular },
30
+ languageOptions: { parser: tsEslintParser, parserOptions: { project: './tsconfig.json' } },
31
+ plugins: { '@angular-eslint': angularEslintPlugin },
32
32
  rules: {
33
33
  // Angular ESLint rules
34
34
  '@angular-eslint/component-class-suffix': ['error', { suffixes: ['Component', 'Modal', 'Page'] }],
@@ -69,6 +69,7 @@ export default [
69
69
 
70
70
  // ESLint rules
71
71
  'class-methods-use-this': 'off',
72
+ 'complexity': ['error', { max: 25 }],
72
73
  'max-lines': ['error', { max: 400, skipBlankLines: true, skipComments: true }],
73
74
  'no-fallthrough': 'off',
74
75
  'no-param-reassign': ['error', { props: false }],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "2.2.69",
3
+ "version": "2.2.70",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",
@@ -35,21 +35,21 @@
35
35
  "test": "cd tests && yarn install && eslint . --format=stylish"
36
36
  },
37
37
  "dependencies": {
38
- "@angular-eslint/builder": "20.5.0",
39
- "@angular-eslint/eslint-plugin": "20.5.0",
40
- "@angular-eslint/eslint-plugin-template": "20.5.0",
41
- "@angular-eslint/template-parser": "20.5.0",
38
+ "@angular-eslint/builder": "20.5.1",
39
+ "@angular-eslint/eslint-plugin": "20.5.1",
40
+ "@angular-eslint/eslint-plugin-template": "20.5.1",
41
+ "@angular-eslint/template-parser": "20.5.1",
42
42
  "@stylistic/eslint-plugin": "5.5.0",
43
- "@typescript-eslint/eslint-plugin": "8.46.2",
44
- "@typescript-eslint/parser": "8.46.2",
45
- "@typescript-eslint/types": "8.46.2",
46
- "@typescript-eslint/utils": "8.46.2",
47
- "eslint": "9.38.0",
43
+ "@typescript-eslint/eslint-plugin": "8.46.3",
44
+ "@typescript-eslint/parser": "8.46.3",
45
+ "@typescript-eslint/types": "8.46.3",
46
+ "@typescript-eslint/utils": "8.46.3",
47
+ "eslint": "9.39.1",
48
48
  "eslint-config-airbnb-extended": "2.3.2",
49
49
  "eslint-import-resolver-typescript": "4.4.4",
50
50
  "eslint-plugin-import-x": "4.16.1",
51
51
  "eslint-plugin-unicorn": "62.0.0",
52
- "typescript-eslint": "8.46.2"
52
+ "typescript-eslint": "8.46.3"
53
53
  },
54
54
  "devDependencies": {
55
55
  "typescript": "5.9.3"