eslint-config-angular-strict 2.1.5 → 2.1.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 +1 -1
- package/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
package/index.js
CHANGED
|
@@ -19,8 +19,8 @@ export default [
|
|
|
19
19
|
|
|
20
20
|
// Airbnb strict rules
|
|
21
21
|
...configs.base.all,
|
|
22
|
-
rules.base.strict,
|
|
23
22
|
rules.base.importsStrict,
|
|
23
|
+
rules.typescript.typescriptEslintStrict,
|
|
24
24
|
{
|
|
25
25
|
// TypeScript files configuration
|
|
26
26
|
files: ['**/*.ts'],
|
|
@@ -79,6 +79,7 @@ export default [
|
|
|
79
79
|
'@typescript-eslint/unbound-method': ['error', { ignoreStatic: true }],
|
|
80
80
|
|
|
81
81
|
// Stylistic rules
|
|
82
|
+
'@stylistic/arrow-parens': ['error', 'as-needed', { requireForBlockBody: true }],
|
|
82
83
|
'@stylistic/brace-style': ['error', '1tbs', { allowSingleLine: true }],
|
|
83
84
|
'@stylistic/comma-dangle': ['error', 'always-multiline'],
|
|
84
85
|
'@stylistic/comma-spacing': ['error', { before: false, after: true }],
|
|
@@ -123,7 +124,6 @@ export default [
|
|
|
123
124
|
'import-x/prefer-default-export': 'off',
|
|
124
125
|
|
|
125
126
|
// General rules
|
|
126
|
-
'arrow-parens': ['error', 'as-needed', { requireForBlockBody: true }],
|
|
127
127
|
'class-methods-use-this': ['error', { exceptMethods: ['beforeUnloadHander', 'trackBy', 'transform', 'windowRef'] }],
|
|
128
128
|
'max-lines': ['error', 500],
|
|
129
129
|
'no-param-reassign': ['error', { props: false }],
|