eslint-config-angular-strict 2.0.5 → 2.0.7

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 -5
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,26 +1,24 @@
1
1
  import angular from '@angular-eslint/eslint-plugin';
2
2
  import angularTemplate from '@angular-eslint/eslint-plugin-template';
3
3
  import angularTemplateParser from '@angular-eslint/template-parser';
4
+ import importX from 'eslint-plugin-import-x'
4
5
  import stylistic from '@stylistic/eslint-plugin';
5
6
  import tsParser from '@typescript-eslint/parser';
6
7
  import typescriptEslint from '@typescript-eslint/eslint-plugin';
7
- import { importX } from 'eslint-plugin-import-x'
8
8
 
9
9
  export default [
10
- importX.flatConfigs.recommended,
11
- importX.flatConfigs.typescript,
12
10
  {
13
11
  // TypeScript files configuration
14
12
  files: ['**/*.ts'],
15
13
  languageOptions: {
16
14
  parser: tsParser,
17
- parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
15
+ parserOptions: { ecmaVersion: 'latest', project: './tsconfig.json', sourceType: 'module' },
18
16
  },
19
17
  plugins: {
20
18
  '@angular-eslint': angular,
21
19
  '@stylistic': stylistic,
22
20
  '@typescript-eslint': typescriptEslint,
23
- import: importX,
21
+ 'import-x': importX,
24
22
  },
25
23
  rules: {
26
24
  // Angular ESLint rules
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "2.0.5",
3
+ "version": "2.0.7",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",