eslint-config-angular-strict 2.0.2 → 2.0.3

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 +10 -10
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -89,15 +89,15 @@ export default [
89
89
  '@stylistic/space-infix-ops': 'error',
90
90
 
91
91
  // Import rules
92
- 'import/extensions': ['error', 'ignorePackages', { ts: 'never' }],
93
- 'import/no-anonymous-default-export': 'error',
94
- 'import/no-commonjs': 'error',
95
- 'import/no-cycle': ['error', { maxDepth: 2 }],
96
- 'import/no-deprecated': 'error',
97
- 'import/no-empty-named-blocks': 'error',
98
- 'import/no-import-module-exports': 'off',
99
- 'import/no-named-as-default-member': 'error',
100
- 'import/order': [
92
+ 'import-x/extensions': ['error', 'ignorePackages', { ts: 'never' }],
93
+ 'import-x/no-anonymous-default-export': 'error',
94
+ 'import-x/no-commonjs': 'error',
95
+ 'import-x/no-cycle': ['error', { maxDepth: 2 }],
96
+ 'import-x/no-deprecated': 'error',
97
+ 'import-x/no-empty-named-blocks': 'error',
98
+ 'import-x/no-import-module-exports': 'off',
99
+ 'import-x/no-named-as-default-member': 'error',
100
+ 'import-x/order': [
101
101
  'error',
102
102
  {
103
103
  alphabetize: { order: 'asc', caseInsensitive: true },
@@ -113,7 +113,7 @@ export default [
113
113
  warnOnUnassignedImports: true,
114
114
  },
115
115
  ],
116
- 'import/prefer-default-export': 'off',
116
+ 'import-x/prefer-default-export': 'off',
117
117
 
118
118
  // General rules
119
119
  'arrow-parens': ['error', 'as-needed', { requireForBlockBody: true }],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",