eslint-config-angular-strict 2.1.5 → 2.1.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/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -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 }],
|