eslint-config-angular-strict 2.2.30 → 2.2.32
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/index.js +7 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -11,7 +11,12 @@ export default [
|
|
|
11
11
|
// Global plugins configuration for all files
|
|
12
12
|
{
|
|
13
13
|
ignores: ['dist/**', 'node_modules/**'],
|
|
14
|
-
plugins: {
|
|
14
|
+
plugins: {
|
|
15
|
+
'@angular-eslint/template': angularTemplate,
|
|
16
|
+
'@stylistic': stylistic,
|
|
17
|
+
'@typescript-eslint': tsEslint,
|
|
18
|
+
'import-x': importX,
|
|
19
|
+
},
|
|
15
20
|
},
|
|
16
21
|
|
|
17
22
|
// Airbnb strict rules
|
|
@@ -21,7 +26,7 @@ export default [
|
|
|
21
26
|
{
|
|
22
27
|
// TypeScript files configuration
|
|
23
28
|
files: ['**/*.ts'],
|
|
24
|
-
languageOptions: { parser: tsParser, parserOptions: {
|
|
29
|
+
languageOptions: { parser: tsParser, parserOptions: { project: './tsconfig.json' } },
|
|
25
30
|
plugins: { '@angular-eslint': angular },
|
|
26
31
|
rules: {
|
|
27
32
|
// Angular ESLint rules
|
|
@@ -124,7 +129,6 @@ export default [
|
|
|
124
129
|
// HTML Template files configuration
|
|
125
130
|
files: ['**/*.html'],
|
|
126
131
|
languageOptions: { parser: angularTemplateParser },
|
|
127
|
-
plugins: { '@angular-eslint/template': angularTemplate },
|
|
128
132
|
rules: {
|
|
129
133
|
'@angular-eslint/template/attributes-order': ['error', { alphabetical: true }],
|
|
130
134
|
'@angular-eslint/template/banana-in-box': 'error',
|