eslint-config-angular-strict 0.6.5 → 0.6.7
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 +2 -2
- package/package.json +11 -11
- package/template.js +2 -0
package/README.md
CHANGED
|
@@ -4,6 +4,8 @@ Stricts rules to enforce a consistent code style for **Angular** development
|
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
|
+
ℹ️ `eslint` dependencies are included, so you can remove all `eslint` related dependencies from your project.
|
|
8
|
+
|
|
7
9
|
```sh
|
|
8
10
|
npm install eslint-config-angular-strict --save-dev
|
|
9
11
|
```
|
|
@@ -56,8 +58,6 @@ Within your **ESLint** config file:
|
|
|
56
58
|
}
|
|
57
59
|
```
|
|
58
60
|
|
|
59
|
-
ℹ️ `eslint` dependencies are included, so you can remove all `eslint` related dependencies from your project.
|
|
60
|
-
|
|
61
61
|
## Tsconfig
|
|
62
62
|
|
|
63
63
|
For better consistency, please add this options to your `tsconfig.json`:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-angular-strict",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.7",
|
|
4
4
|
"description": "Stricts rules to enforce a consistent code style for Angular development",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,19 +24,19 @@
|
|
|
24
24
|
"homepage": "https://github.com/Jbz797/eslint-config-angular-strict",
|
|
25
25
|
"main": "./index.js",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@angular-eslint/builder": "15.
|
|
28
|
-
"@angular-eslint/eslint-plugin": "15.
|
|
29
|
-
"@angular-eslint/eslint-plugin-template": "15.
|
|
30
|
-
"@angular-eslint/template-parser": "15.
|
|
31
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
32
|
-
"@typescript-eslint/parser": "5.
|
|
33
|
-
"eslint": "8.
|
|
27
|
+
"@angular-eslint/builder": "15.2.0",
|
|
28
|
+
"@angular-eslint/eslint-plugin": "15.2.0",
|
|
29
|
+
"@angular-eslint/eslint-plugin-template": "15.2.0",
|
|
30
|
+
"@angular-eslint/template-parser": "15.2.0",
|
|
31
|
+
"@typescript-eslint/eslint-plugin": "5.49.0",
|
|
32
|
+
"@typescript-eslint/parser": "5.49.0",
|
|
33
|
+
"eslint": "8.33.0",
|
|
34
34
|
"eslint-config-airbnb-base": "15.0.0",
|
|
35
35
|
"eslint-config-airbnb-typescript": "17.0.0",
|
|
36
|
-
"eslint-import-resolver-typescript": "3.5.
|
|
37
|
-
"eslint-plugin-import": "2.
|
|
36
|
+
"eslint-import-resolver-typescript": "3.5.3",
|
|
37
|
+
"eslint-plugin-import": "2.27.5"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"typescript": "^4.9.
|
|
40
|
+
"typescript": "^4.9.4"
|
|
41
41
|
}
|
|
42
42
|
}
|
package/template.js
CHANGED
|
@@ -10,5 +10,7 @@ module.exports = {
|
|
|
10
10
|
'@angular-eslint/template/banana-in-box': 'error',
|
|
11
11
|
'@angular-eslint/template/conditional-complexity': 'error',
|
|
12
12
|
'@angular-eslint/template/cyclomatic-complexity': ['error', { maxComplexity: 10 }],
|
|
13
|
+
'@angular-eslint/template/eqeqeq': 'error',
|
|
14
|
+
'@angular-eslint/template/mouse-events-have-key-events': 'error',
|
|
13
15
|
},
|
|
14
16
|
};
|