eslint-config-angular-strict 2.1.4 → 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.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. 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 }],
@@ -86,8 +87,10 @@ export default [
86
87
  '@stylistic/indent': ['error', 2],
87
88
  '@stylistic/keyword-spacing': ['error', { before: true, after: true }],
88
89
  '@stylistic/lines-between-class-members': ['error', 'always', { exceptAfterSingleLine: true }],
90
+ '@stylistic/max-len': ['error', 180],
89
91
  '@stylistic/no-extra-semi': 'error',
90
92
  '@stylistic/object-curly-spacing': ['error', 'always'],
93
+ '@stylistic/padded-blocks': 'off',
91
94
  '@stylistic/quotes': ['error', 'single'],
92
95
  '@stylistic/semi': ['error', 'always'],
93
96
  '@stylistic/space-before-blocks': 'error',
@@ -121,9 +124,7 @@ export default [
121
124
  'import-x/prefer-default-export': 'off',
122
125
 
123
126
  // General rules
124
- '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'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "2.1.4",
3
+ "version": "2.1.6",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",