Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,27 @@ import { FlatCompat } from '@eslint/eslintrc';
const compat = new FlatCompat();

export default [
...compat.extends('plugin:@angular-eslint/recommended', 'plugin:@angular-eslint/template/process-inline-templates'),
{
files: ['**/*.ts', '**/*.tsx'],
languageOptions: {
parser: await import('@typescript-eslint/parser'),
parserOptions: {
project: ['tsconfig.json'],
createDefaultProgram: true,
},
},
rules: {
'@angular-eslint/directive-selector': [
'error',
{ type: 'attribute', prefix: 'app', style: 'camelCase' },
],
'@angular-eslint/component-selector': [
'error',
{ type: 'element', prefix: 'app', style: 'kebab-case' },
]
// Basic TypeScript linting without Angular template processing
},
},
...compat.extends('plugin:@angular-eslint/template/recommended'),
{
files: ['**/*.html'],
...compat.extends('plugin:@angular-eslint/template/recommended')[0],
rules: {
eqeqeq: 'off'
},
},
{
ignores: ['projects/**/*']
ignores: ['projects/**/*', '**/*.spec.ts']
Copy link

Copilot AI Oct 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The spec file ignore pattern is duplicated in two places (line 8 and line 28). Consider consolidating these ignores to avoid redundancy and potential inconsistencies.

Copilot uses AI. Check for mistakes.
},
];
Loading