eslint-config-angular-strict 2.3.7 → 2.3.9

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 +1 -35
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -60,7 +60,6 @@ export default [
60
60
  '@angular-eslint/prefer-standalone': 'error',
61
61
  '@angular-eslint/relative-url-prefix': 'error',
62
62
  '@angular-eslint/require-lifecycle-on-prototype': 'error',
63
- '@angular-eslint/sort-lifecycle-methods': 'error',
64
63
  '@angular-eslint/use-component-view-encapsulation': 'error',
65
64
  '@angular-eslint/use-injectable-provided-in': 'error',
66
65
  '@angular-eslint/use-lifecycle-interface': 'error',
@@ -124,6 +123,7 @@ export default [
124
123
  // TypeScript ESLint rules
125
124
  '@typescript-eslint/consistent-type-assertions': ['error', { arrayLiteralTypeAssertions: 'never', assertionStyle: 'as', objectLiteralTypeAssertions: 'never' }],
126
125
  '@typescript-eslint/consistent-type-imports': ['error', { prefer: 'no-type-imports' }],
126
+ '@typescript-eslint/member-ordering': ['error', { default: { order: 'natural-case-insensitive' } }],
127
127
  '@typescript-eslint/no-base-to-string': 'error',
128
128
  '@typescript-eslint/no-dynamic-delete': 'error',
129
129
  '@typescript-eslint/no-extraneous-class': ['error', { allowEmpty: true, allowStaticOnly: true }],
@@ -134,40 +134,6 @@ export default [
134
134
  '@typescript-eslint/sort-type-constituents': 'error',
135
135
  '@typescript-eslint/unbound-method': ['error', { ignoreStatic: true }],
136
136
 
137
- // Member ordering rules
138
- '@typescript-eslint/member-ordering': [
139
- 'error',
140
- {
141
- default: {
142
- memberTypes: [
143
- // Decorated fields (public, then private)
144
- 'public-decorated-field',
145
- 'private-decorated-field',
146
-
147
- // Static fields (public, then private)
148
- 'public-static-field',
149
- 'private-static-field',
150
-
151
- // Instance fields (public, then private)
152
- 'public-instance-field',
153
- 'private-instance-field',
154
-
155
- // Constructor
156
- 'constructor',
157
-
158
- // Static methods (public, then private)
159
- 'public-static-method',
160
- 'private-static-method',
161
-
162
- // Instance methods (public, then private)
163
- 'public-instance-method',
164
- 'private-instance-method',
165
- ],
166
- order: 'alphabetically',
167
- },
168
- },
169
- ],
170
-
171
137
  // Unicorn rules
172
138
  'unicorn/consistent-function-scoping': ['error', { checkArrowFunctions: false }],
173
139
  'unicorn/new-for-builtins': 'off',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "2.3.07",
3
+ "version": "2.3.09",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",