eslint-config-angular-strict 0.9.4 → 0.9.6
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/package.json +9 -9
- package/template.js +1 -0
- package/typescript.js +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-angular-strict",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.6",
|
|
4
4
|
"description": "Stricts rules to enforce a consistent code style for Angular development",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,16 +24,16 @@
|
|
|
24
24
|
"homepage": "https://github.com/Jbz797/eslint-config-angular-strict",
|
|
25
25
|
"main": "./index.js",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@angular-eslint/builder": "16.
|
|
28
|
-
"@angular-eslint/eslint-plugin": "16.
|
|
29
|
-
"@angular-eslint/eslint-plugin-template": "16.
|
|
30
|
-
"@angular-eslint/template-parser": "16.
|
|
31
|
-
"@typescript-eslint/eslint-plugin": "6.7.
|
|
32
|
-
"@typescript-eslint/parser": "6.7.
|
|
33
|
-
"eslint": "8.
|
|
27
|
+
"@angular-eslint/builder": "16.2.0",
|
|
28
|
+
"@angular-eslint/eslint-plugin": "16.2.0",
|
|
29
|
+
"@angular-eslint/eslint-plugin-template": "16.2.0",
|
|
30
|
+
"@angular-eslint/template-parser": "16.2.0",
|
|
31
|
+
"@typescript-eslint/eslint-plugin": "6.7.3",
|
|
32
|
+
"@typescript-eslint/parser": "6.7.3",
|
|
33
|
+
"eslint": "8.50.0",
|
|
34
34
|
"eslint-config-airbnb-base": "15.0.0",
|
|
35
35
|
"eslint-config-airbnb-typescript": "17.1.0",
|
|
36
|
-
"eslint-import-resolver-typescript": "3.6.
|
|
36
|
+
"eslint-import-resolver-typescript": "3.6.1",
|
|
37
37
|
"eslint-plugin-import": "2.28.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
package/template.js
CHANGED
|
@@ -17,6 +17,7 @@ module.exports = {
|
|
|
17
17
|
'@angular-eslint/template/no-interpolation-in-attributes': 'error',
|
|
18
18
|
'@angular-eslint/template/no-negated-async': 'error',
|
|
19
19
|
'@angular-eslint/template/no-positive-tabindex': 'error',
|
|
20
|
+
'@angular-eslint/template/prefer-ngsrc': 'error',
|
|
20
21
|
'@angular-eslint/template/prefer-self-closing-tags': 'error',
|
|
21
22
|
'@angular-eslint/template/role-has-required-aria': 'error',
|
|
22
23
|
'@angular-eslint/template/table-scope': 'error',
|
package/typescript.js
CHANGED
|
@@ -34,6 +34,7 @@ module.exports = {
|
|
|
34
34
|
'@angular-eslint/prefer-output-readonly': 'error',
|
|
35
35
|
'@angular-eslint/prefer-standalone-component': 'error',
|
|
36
36
|
'@angular-eslint/relative-url-prefix': 'error',
|
|
37
|
+
'@angular-eslint/sort-lifecycle-methods': 'error',
|
|
37
38
|
'@angular-eslint/sort-ngmodule-metadata-arrays': 'error',
|
|
38
39
|
'@angular-eslint/use-component-view-encapsulation': 'error',
|
|
39
40
|
'@angular-eslint/use-injectable-provided-in': 'error',
|
|
@@ -62,10 +63,11 @@ module.exports = {
|
|
|
62
63
|
'newlines-between': 'always',
|
|
63
64
|
pathGroups: [
|
|
64
65
|
{ pattern: '@angular/**', group: 'external', position: 'before' },
|
|
66
|
+
{ pattern: '@nestjs/**', group: 'external', position: 'before' },
|
|
65
67
|
{ pattern: 'firebase*/**', group: 'external', position: 'before', patternOptions: { partial: true } },
|
|
66
68
|
{ pattern: 'ng-zorro-antd/**', group: 'external', position: 'before' },
|
|
67
69
|
],
|
|
68
|
-
pathGroupsExcludedImportTypes: [
|
|
70
|
+
pathGroupsExcludedImportTypes: [],
|
|
69
71
|
warnOnUnassignedImports: true,
|
|
70
72
|
},
|
|
71
73
|
],
|
|
@@ -74,6 +76,7 @@ module.exports = {
|
|
|
74
76
|
'arrow-parens': ['error', 'as-needed', { requireForBlockBody: true }],
|
|
75
77
|
'class-methods-use-this': ['error', { exceptMethods: ['beforeUnloadHander', 'trackBy', 'transform', 'windowRef'] }],
|
|
76
78
|
'max-len': ['error', 180],
|
|
79
|
+
'max-lines': ['error', 500],
|
|
77
80
|
'no-param-reassign': ['error', { props: false }],
|
|
78
81
|
'no-plusplus': 'off',
|
|
79
82
|
'no-restricted-globals': 'off',
|