eslint-config-angular-strict 2.2.40 → 2.2.43

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 (3) hide show
  1. package/README.md +7 -7
  2. package/index.js +4 -1
  3. package/package.json +6 -6
package/README.md CHANGED
@@ -20,10 +20,10 @@ This package includes **ESLint 9** and uses the new **flat configuration format*
20
20
 
21
21
  ## Features
22
22
 
23
- - 🅰️ **Angular**: Standalone components, lifecycle enforcement, component standards, and more...
24
- - 📘 **TypeScript**: Strict typing, member ordering, modern patterns, and more...
25
- - 🎨 **Style**: Airbnb compliance, max length, import organization, and more...
26
- - 🦄 **Quality**: Modern JavaScript, anti-patterns prevention, performance optimization, and more...
23
+ - **Angular**: Standalone components, lifecycle enforcement, component standards, and more...
24
+ - **TypeScript**: Strict typing, member ordering, modern patterns, and more...
25
+ - **Quality**: Modern JavaScript, anti-patterns prevention, performance optimization, and more...
26
+ - **Style**: Airbnb compliance, max length, import organization, and more...
27
27
 
28
28
  ## What's Included
29
29
 
@@ -38,9 +38,9 @@ This package includes **ESLint 9** and uses the new **flat configuration format*
38
38
 
39
39
  ## Requirements
40
40
 
41
- - <img src="https://avatars.githubusercontent.com/u/139426?s=48&" width="16" height="16"> **Angular 18+**
42
- - <img src="https://avatars.githubusercontent.com/u/9950313?s=48&v=4" width="16" height="16"> **Node.js 18+**
43
- - <img src="https://avatars.githubusercontent.com/u/46634674?s=48&" width="16" height="16"> **TypeScript 5+**
41
+ - **Angular 18+**
42
+ - **Node.js 18+**
43
+ - **TypeScript 5+**
44
44
 
45
45
  ## Installation
46
46
 
package/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import angular from '@angular-eslint/eslint-plugin';
2
2
  import angularTemplate from '@angular-eslint/eslint-plugin-template';
3
3
  import angularTemplateParser from '@angular-eslint/template-parser';
4
+ import eslintPluginUnicorn from 'eslint-plugin-unicorn';
4
5
  import importX from 'eslint-plugin-import-x';
5
6
  import stylistic from '@stylistic/eslint-plugin';
6
7
  import tsEslint from '@typescript-eslint/eslint-plugin';
7
8
  import tsParser from '@typescript-eslint/parser';
8
9
  import { configs, rules } from 'eslint-config-airbnb-extended';
9
- import eslintPluginUnicorn from 'eslint-plugin-unicorn';
10
10
 
11
11
  export default [
12
12
  {
@@ -115,6 +115,7 @@ export default [
115
115
  '@stylistic/padded-blocks': ['error', { blocks: 'never', classes: 'always', switches: 'never' }],
116
116
 
117
117
  // TypeScript ESLint rules
118
+ "@typescript-eslint/no-unnecessary-type-conversion": "error",
118
119
  '@typescript-eslint/consistent-type-imports': ['error', { prefer: 'no-type-imports' }],
119
120
  '@typescript-eslint/member-ordering': 'error',
120
121
  '@typescript-eslint/no-extraneous-class': ['error', { allowEmpty: true, allowStaticOnly: true }],
@@ -124,7 +125,9 @@ export default [
124
125
  '@typescript-eslint/unbound-method': ['error', { ignoreStatic: true }],
125
126
 
126
127
  // Unicorn rules
128
+ 'unicorn/no-abusive-eslint-disable': 'off',
127
129
  'unicorn/no-array-for-each': 'off',
130
+ 'unicorn/no-useless-promise-resolve-reject': 'off',
128
131
  'unicorn/switch-case-braces': 'off',
129
132
  },
130
133
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "2.2.40",
3
+ "version": "2.2.43",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",
@@ -40,16 +40,16 @@
40
40
  "@angular-eslint/eslint-plugin-template": "20.3.0",
41
41
  "@angular-eslint/template-parser": "20.3.0",
42
42
  "@stylistic/eslint-plugin": "5.4.0",
43
- "@typescript-eslint/eslint-plugin": "8.45.0",
44
- "@typescript-eslint/parser": "8.45.0",
45
- "@typescript-eslint/types": "8.45.0",
46
- "@typescript-eslint/utils": "8.45.0",
43
+ "@typescript-eslint/eslint-plugin": "8.46.0",
44
+ "@typescript-eslint/parser": "8.46.0",
45
+ "@typescript-eslint/types": "8.46.0",
46
+ "@typescript-eslint/utils": "8.46.0",
47
47
  "eslint": "9.37.0",
48
48
  "eslint-config-airbnb-extended": "2.3.1",
49
49
  "eslint-import-resolver-typescript": "4.4.4",
50
50
  "eslint-plugin-import-x": "4.16.1",
51
51
  "eslint-plugin-unicorn": "61.0.2",
52
- "typescript-eslint": "8.45.0"
52
+ "typescript-eslint": "8.46.0"
53
53
  },
54
54
  "devDependencies": {
55
55
  "typescript": "5.9.3"