@jkba/eslint-config-angular 1.6.0 → 1.7.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/README.md CHANGED
@@ -5,6 +5,8 @@
5
5
 
6
6
  Opinionated ESLint config for Angular projects
7
7
 
8
+ > ⚠️ **Support for ESLint v9**: See issue https://github.com/jmeinlschmidt/eslint-config-angular/issues/17
9
+
8
10
 
9
11
  ## Installation
10
12
 
@@ -123,7 +125,7 @@ Reference [Share Configurations](https://eslint.org/docs/latest/extend/shareable
123
125
 
124
126
  ## Release
125
127
 
126
- Use `npm version`, don't forget to push the tag and the CI will take care of the rest.
128
+ Use `npm version`, don't forget to push the tag (`git push --follow-tags`) and the CI will take care of the rest.
127
129
 
128
130
 
129
131
  ## License
package/eslint.config.js CHANGED
@@ -101,6 +101,7 @@ module.exports = {
101
101
  ],
102
102
  "@typescript-eslint/prefer-optional-chain": "error",
103
103
 
104
+ '@angular-eslint/no-input-rename': 'off', // I just simply disagree with this rule. Especially while using "transform" property.
104
105
  '@angular-eslint/sort-ngmodule-metadata-arrays': 'error',
105
106
  '@angular-eslint/prefer-on-push-component-change-detection': 'error',
106
107
  '@angular-eslint/use-component-view-encapsulation': 'warn', // For me, it is only a suggestion
@@ -182,11 +183,11 @@ module.exports = {
182
183
  ],
183
184
  '@angular-eslint/template/i18n': 'error',
184
185
  '@angular-eslint/template/no-any': 'error',
185
- '@angular-eslint/template/no-call-expression': 'error',
186
186
  '@angular-eslint/template/no-duplicate-attributes': 'error',
187
187
  '@angular-eslint/template/no-interpolation-in-attributes': 'error',
188
188
  '@angular-eslint/template/prefer-self-closing-tags': 'error',
189
- '@angular-eslint/template/use-track-by-function': 'error'
189
+ '@angular-eslint/template/use-track-by-function': 'error',
190
+ '@angular-eslint/template/prefer-control-flow': 'error'
190
191
  }
191
192
  },
192
193
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jkba/eslint-config-angular",
3
- "version": "1.6.0",
3
+ "version": "1.7.1",
4
4
  "description": "Opinionated ESLint config for Angular projects",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -37,7 +37,7 @@
37
37
  "@angular-eslint/template-parser": ">=16",
38
38
  "@typescript-eslint/eslint-plugin": ">=6",
39
39
  "@typescript-eslint/parser": ">=6",
40
- "eslint": ">=8",
40
+ "eslint": "^8",
41
41
  "eslint-config-prettier": ">=8",
42
42
  "eslint-import-resolver-typescript": ">=3.5.5",
43
43
  "eslint-plugin-import": ">=2.27.0",