eslint-config-angular-strict 2.2.71 → 2.2.73

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 +9 -8
  2. package/index.js +1 -1
  3. package/package.json +6 -6
package/README.md CHANGED
@@ -7,9 +7,9 @@
7
7
  <p align="center">Modern ESLint configuration with strict rules for <strong>Angular</strong> development</p>
8
8
 
9
9
  <p align="center">
10
- <a href="https://www.npmjs.com/package/eslint-config-angular-strict"><img src="https://img.shields.io/npm/v/eslint-config-angular-strict/latest.svg" alt="NPM Version" /></a>
11
- <a href="https://github.com/Jbz797/eslint-config-angular-strict/blob/master/LICENSE"><img src="https://img.shields.io/npm/l/eslint-config-angular-strict.svg" alt="GitHub license" /></a>
12
- <a href="https://www.npmjs.com/package/eslint-config-angular-strict"><img src="https://img.shields.io/npm/dm/eslint-config-angular-strict.svg" alt="NPM Downloads" /></a>
10
+ <a href="https://www.npmjs.com/package/eslint-config-angular-strict"><img src="https://img.shields.io/npm/v/eslint-config-angular-strict" alt="NPM Version" /></a>
11
+ <a href="https://github.com/Jbz797/eslint-config-angular-strict/blob/master/LICENSE"><img src="https://img.shields.io/npm/l/eslint-config-angular-strict" alt="GitHub license" /></a>
12
+ <a href="https://www.npmjs.com/package/eslint-config-angular-strict"><img src="https://img.shields.io/npm/dm/eslint-config-angular-strict" alt="NPM Downloads" /></a>
13
13
  </p>
14
14
 
15
15
  <br>
@@ -24,11 +24,11 @@ A production-ready, opinionated ESLint configuration that enforces best practice
24
24
 
25
25
  ## Features
26
26
 
27
- - **🅰️ Angular**: 35+ rules for standalone components, lifecycle methods, component standards, and modern control flow syntax, and more...
28
- - **📘 TypeScript**: Strict typing, member ordering, promise handling, type safety enforcement, and more...
29
- - **✨ Code Quality**: Complexity limits, file length control, import cycle detection, anti-patterns prevention, and more...
30
- - **🎨 Style**: Airbnb extended compliance, consistent formatting, organized imports, and more...
31
- - **🔍 Templates**: 25+ HTML template rules including alphabetical attributes, complexity limits checks, trackBy enforcement, and more...
27
+ 🅰️ **Angular**: 30+ rules for standalone, lifecycle, components/directives standards, metadata, signals, pipes,...<br>
28
+ 📘 **TypeScript**: Member ordering, promise-async, type imports, strict typing, type safety, extraneous classes,...<br>
29
+ **Code Quality**: Complexity max, file length control, import cycles detection, 100+ Unicorn best practices,...<br>
30
+ 🎨 **Style**: Airbnb extended, max line length, arrow parens, object/class newlines, sorted keys/imports,...<br>
31
+ 🔍 **Templates**: 30+ rules with alphabetical attrs, complexity max, control flow, trackBy, a11y, no-any,...
32
32
 
33
33
  ## What's Included
34
34
 
@@ -90,6 +90,7 @@ Make sure your `tsconfig.json` is properly configured:
90
90
  "compilerOptions": {
91
91
  (...),
92
92
  "allowUnusedLabels": false,
93
+ "exactOptionalPropertyTypes": true,
93
94
  "noImplicitOverride": true,
94
95
  "noUnusedLocals": true,
95
96
  "noUnusedParameters": true,
package/index.js CHANGED
@@ -27,7 +27,7 @@ export default [
27
27
  // TypeScript files configuration
28
28
  {
29
29
  files: ['**/*.ts'],
30
- languageOptions: { parser: tsEslintParser, parserOptions: { project: './tsconfig.json' } },
30
+ languageOptions: { parser: tsEslintParser },
31
31
  plugins: { '@angular-eslint': angularEslintPlugin },
32
32
  rules: {
33
33
  // Angular ESLint rules
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "2.2.71",
3
+ "version": "2.2.73",
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.6.0",
41
41
  "@angular-eslint/template-parser": "20.6.0",
42
42
  "@stylistic/eslint-plugin": "5.5.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",
43
+ "@typescript-eslint/eslint-plugin": "8.46.4",
44
+ "@typescript-eslint/parser": "8.46.4",
45
+ "@typescript-eslint/types": "8.46.4",
46
+ "@typescript-eslint/utils": "8.46.4",
47
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.3"
52
+ "typescript-eslint": "8.46.4"
53
53
  },
54
54
  "devDependencies": {
55
55
  "typescript": "5.9.3"