eslint-config-angular-strict 2.1.4 → 2.1.5
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 +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -86,8 +86,10 @@ export default [
|
|
|
86
86
|
'@stylistic/indent': ['error', 2],
|
|
87
87
|
'@stylistic/keyword-spacing': ['error', { before: true, after: true }],
|
|
88
88
|
'@stylistic/lines-between-class-members': ['error', 'always', { exceptAfterSingleLine: true }],
|
|
89
|
+
'@stylistic/max-len': ['error', 180],
|
|
89
90
|
'@stylistic/no-extra-semi': 'error',
|
|
90
91
|
'@stylistic/object-curly-spacing': ['error', 'always'],
|
|
92
|
+
'@stylistic/padded-blocks': 'off',
|
|
91
93
|
'@stylistic/quotes': ['error', 'single'],
|
|
92
94
|
'@stylistic/semi': ['error', 'always'],
|
|
93
95
|
'@stylistic/space-before-blocks': 'error',
|
|
@@ -123,7 +125,6 @@ export default [
|
|
|
123
125
|
// General rules
|
|
124
126
|
'arrow-parens': ['error', 'as-needed', { requireForBlockBody: true }],
|
|
125
127
|
'class-methods-use-this': ['error', { exceptMethods: ['beforeUnloadHander', 'trackBy', 'transform', 'windowRef'] }],
|
|
126
|
-
'max-len': ['error', 180],
|
|
127
128
|
'max-lines': ['error', 500],
|
|
128
129
|
'no-param-reassign': ['error', { props: false }],
|
|
129
130
|
'no-plusplus': 'off',
|
|
@@ -139,7 +140,6 @@ export default [
|
|
|
139
140
|
ObjectPattern: { minProperties: 4, multiline: true },
|
|
140
141
|
},
|
|
141
142
|
],
|
|
142
|
-
'padded-blocks': 'off',
|
|
143
143
|
'prefer-destructuring': 'off',
|
|
144
144
|
'sort-keys': ['error'],
|
|
145
145
|
radix: ['error', 'as-needed'],
|