eslint-config-angular-strict 2.0.4 → 2.0.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.
Files changed (2) hide show
  1. package/index.js +11 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -4,7 +4,7 @@ import angularTemplateParser from '@angular-eslint/template-parser';
4
4
  import stylistic from '@stylistic/eslint-plugin';
5
5
  import tsParser from '@typescript-eslint/parser';
6
6
  import typescriptEslint from '@typescript-eslint/eslint-plugin';
7
- import { importX } from 'eslint-plugin-import-x';
7
+ import { importX } from 'eslint-plugin-import-x'
8
8
 
9
9
  export default [
10
10
  importX.flatConfigs.recommended,
@@ -12,7 +12,10 @@ export default [
12
12
  {
13
13
  // TypeScript files configuration
14
14
  files: ['**/*.ts'],
15
- languageOptions: { ecmaVersion: 'latest', parser: tsParser, sourceType: 'module' },
15
+ languageOptions: {
16
+ parser: tsParser,
17
+ parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
18
+ },
16
19
  plugins: {
17
20
  '@angular-eslint': angular,
18
21
  '@stylistic': stylistic,
@@ -142,8 +145,12 @@ export default [
142
145
  {
143
146
  // HTML Template files configuration
144
147
  files: ['**/*.html'],
145
- languageOptions: { parser: angularTemplateParser },
146
- plugins: { '@angular-eslint/template': angularTemplate },
148
+ languageOptions: {
149
+ parser: angularTemplateParser,
150
+ },
151
+ plugins: {
152
+ '@angular-eslint/template': angularTemplate,
153
+ },
147
154
  rules: {
148
155
  '@angular-eslint/template/attributes-order': ['error', { alphabetical: true }],
149
156
  '@angular-eslint/template/banana-in-box': 'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",