@jkba/eslint-config-angular 1.5.0 → 1.7.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/README.md +1 -2
- package/eslint.config.js +3 -3
- package/package.json +1 -2
package/README.md
CHANGED
|
@@ -16,7 +16,6 @@ npm i -D \
|
|
|
16
16
|
@angular-eslint/template-parser \
|
|
17
17
|
@typescript-eslint/eslint-plugin \
|
|
18
18
|
@typescript-eslint/parser \
|
|
19
|
-
@ngrx/eslint-plugin \
|
|
20
19
|
eslint-plugin-import \
|
|
21
20
|
eslint-config-prettier \
|
|
22
21
|
eslint-plugin-prettier \
|
|
@@ -124,7 +123,7 @@ Reference [Share Configurations](https://eslint.org/docs/latest/extend/shareable
|
|
|
124
123
|
|
|
125
124
|
## Release
|
|
126
125
|
|
|
127
|
-
Use `npm version`, don't forget to push the tag and the CI will take care of the rest.
|
|
126
|
+
Use `npm version`, don't forget to push the tag (`git push --follow-tags`) and the CI will take care of the rest.
|
|
128
127
|
|
|
129
128
|
|
|
130
129
|
## License
|
package/eslint.config.js
CHANGED
|
@@ -19,7 +19,6 @@ module.exports = {
|
|
|
19
19
|
'plugin:rxjs/recommended', // For some unknown weird reason, this plugin needs to be installed in child project as well.
|
|
20
20
|
'plugin:import/recommended',
|
|
21
21
|
'plugin:import/typescript',
|
|
22
|
-
'plugin:@ngrx/all',
|
|
23
22
|
|
|
24
23
|
// Prettier rule must always be the very last!
|
|
25
24
|
// This rule might intentionally disable some rules declared above due to conflicts
|
|
@@ -102,6 +101,7 @@ module.exports = {
|
|
|
102
101
|
],
|
|
103
102
|
"@typescript-eslint/prefer-optional-chain": "error",
|
|
104
103
|
|
|
104
|
+
'@angular-eslint/no-input-rename': 'off', // I just simply disagree with this rule. Especially while using "transform" property.
|
|
105
105
|
'@angular-eslint/sort-ngmodule-metadata-arrays': 'error',
|
|
106
106
|
'@angular-eslint/prefer-on-push-component-change-detection': 'error',
|
|
107
107
|
'@angular-eslint/use-component-view-encapsulation': 'warn', // For me, it is only a suggestion
|
|
@@ -183,11 +183,11 @@ module.exports = {
|
|
|
183
183
|
],
|
|
184
184
|
'@angular-eslint/template/i18n': 'error',
|
|
185
185
|
'@angular-eslint/template/no-any': 'error',
|
|
186
|
-
'@angular-eslint/template/no-call-expression': 'error',
|
|
187
186
|
'@angular-eslint/template/no-duplicate-attributes': 'error',
|
|
188
187
|
'@angular-eslint/template/no-interpolation-in-attributes': 'error',
|
|
189
188
|
'@angular-eslint/template/prefer-self-closing-tags': 'error',
|
|
190
|
-
'@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'
|
|
191
191
|
}
|
|
192
192
|
},
|
|
193
193
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jkba/eslint-config-angular",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "Opinionated ESLint config for Angular projects",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -35,7 +35,6 @@
|
|
|
35
35
|
"@angular-eslint/eslint-plugin": ">=16",
|
|
36
36
|
"@angular-eslint/eslint-plugin-template": ">=16",
|
|
37
37
|
"@angular-eslint/template-parser": ">=16",
|
|
38
|
-
"@ngrx/eslint-plugin": "^16.2.0",
|
|
39
38
|
"@typescript-eslint/eslint-plugin": ">=6",
|
|
40
39
|
"@typescript-eslint/parser": ">=6",
|
|
41
40
|
"eslint": ">=8",
|