File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed
packages/igx-templates/igx-ts/projects/_base/files Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -3,34 +3,27 @@ import { FlatCompat } from '@eslint/eslintrc';
33const compat = new FlatCompat ( ) ;
44
55export default [
6- ...compat . extends ( 'plugin:@angular-eslint/recommended' , 'plugin:@angular-eslint/template/process-inline-templates' ) ,
76 {
87 files : [ '**/*.ts' , '**/*.tsx' ] ,
98 languageOptions : {
9+ parser : await import ( '@typescript-eslint/parser' ) ,
1010 parserOptions : {
1111 project : [ 'tsconfig.json' ] ,
1212 createDefaultProgram : true ,
1313 } ,
1414 } ,
1515 rules : {
16- '@angular-eslint/directive-selector' : [
17- 'error' ,
18- { type : 'attribute' , prefix : 'app' , style : 'camelCase' } ,
19- ] ,
20- '@angular-eslint/component-selector' : [
21- 'error' ,
22- { type : 'element' , prefix : 'app' , style : 'kebab-case' } ,
23- ]
16+ // Basic TypeScript linting without Angular template processing
2417 } ,
2518 } ,
26- ...compat . extends ( 'plugin:@angular-eslint/template/recommended' ) ,
2719 {
2820 files : [ '**/*.html' ] ,
21+ ...compat . extends ( 'plugin:@angular-eslint/template/recommended' ) [ 0 ] ,
2922 rules : {
3023 eqeqeq : 'off'
3124 } ,
3225 } ,
3326 {
34- ignores : [ 'projects/**/*' ]
27+ ignores : [ 'projects/**/*' , '**/*.spec.ts' ]
3528 } ,
3629] ;
You can’t perform that action at this time.
0 commit comments