@intech.lu/eslint-config-angular 1.0.0 → 1.1.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/eslint.config.mjs +3 -9
- package/package.json +5 -5
package/eslint.config.mjs
CHANGED
|
@@ -11,15 +11,9 @@ export default defineConfig(
|
|
|
11
11
|
],
|
|
12
12
|
processor: angular.processInlineTemplates,
|
|
13
13
|
rules: {
|
|
14
|
-
//
|
|
15
|
-
//
|
|
16
|
-
|
|
17
|
-
'@angular-eslint/component-class-suffix': [
|
|
18
|
-
'error',
|
|
19
|
-
{
|
|
20
|
-
suffixes: ['Component', 'Page', 'Modal'],
|
|
21
|
-
},
|
|
22
|
-
],
|
|
14
|
+
// As of Angular 20, adding component class suffixes is no longer recommended by the
|
|
15
|
+
// Angular team.
|
|
16
|
+
'@angular-eslint/component-class-suffix': 'off',
|
|
23
17
|
// Kebab case is the recommended way to name Angular components,
|
|
24
18
|
// so we want to enforce this naming convention.
|
|
25
19
|
// https://angular.dev/style-guide#component-selectors
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intech.lu/eslint-config-angular",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "ESLint rules for InTech Angular projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"style guide",
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
],
|
|
42
42
|
"main": "eslint.config.mjs",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"angular-eslint": "^
|
|
45
|
-
"@intech.lu/eslint-config": "1.0
|
|
44
|
+
"angular-eslint": "^21.0.1",
|
|
45
|
+
"@intech.lu/eslint-config": "1.1.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"eslint": "^9.
|
|
48
|
+
"eslint": "^9.39.1"
|
|
49
49
|
},
|
|
50
50
|
"engines": {
|
|
51
|
-
"node": ">=
|
|
51
|
+
"node": ">=24.11.1"
|
|
52
52
|
}
|
|
53
53
|
}
|