11// @ts -check
2- const tseslint = require ( " typescript-eslint" ) ;
3- const angular = require ( " angular-eslint" ) ;
2+ const tseslint = require ( ' typescript-eslint' ) ;
3+ const angular = require ( ' angular-eslint' ) ;
44
55module . exports = tseslint . config (
66 {
7- ignores : [ " projects/**/*" ] ,
7+ ignores : [ ' projects/**/*' ] ,
88 } ,
99 {
10- files : [ " **/*.ts" ] ,
10+ files : [ ' **/*.ts' ] ,
1111 extends : [
1212 ...tseslint . configs . recommended ,
1313 ...tseslint . configs . recommendedTypeChecked ,
@@ -16,56 +16,56 @@ module.exports = tseslint.config(
1616 processor : angular . processInlineTemplates ,
1717 languageOptions : {
1818 parserOptions : {
19- project : [ " tsconfig.json" ] ,
19+ project : [ ' tsconfig.json' ] ,
2020 } ,
2121 } ,
2222 rules : {
23- " @angular-eslint/component-class-suffix" : " off" ,
24- " @angular-eslint/directive-class-suffix" : " off" ,
25- " @angular-eslint/prefer-standalone" : " off" ,
26- " @angular-eslint/prefer-inject" : " off" ,
27- " @angular-eslint/directive-selector" : [
28- " error" ,
23+ ' @angular-eslint/component-class-suffix' : ' off' ,
24+ ' @angular-eslint/directive-class-suffix' : ' off' ,
25+ ' @angular-eslint/prefer-standalone' : ' off' ,
26+ ' @angular-eslint/prefer-inject' : ' off' ,
27+ ' @angular-eslint/directive-selector' : [
28+ ' error' ,
2929 {
30- type : " attribute" ,
31- prefix : [ " knowledge" ] ,
32- style : " camelCase" ,
30+ type : ' attribute' ,
31+ prefix : [ ' knowledge' ] ,
32+ style : ' camelCase' ,
3333 } ,
3434 ] ,
35- " @angular-eslint/component-selector" : [
36- " error" ,
35+ ' @angular-eslint/component-selector' : [
36+ ' error' ,
3737 {
38- type : " element" ,
39- prefix : [ " knowledge" ] ,
40- style : " kebab-case" ,
38+ type : ' element' ,
39+ prefix : [ ' knowledge' ] ,
40+ style : ' kebab-case' ,
4141 } ,
4242 ] ,
43- " @typescript-eslint/consistent-type-definitions" : " error" ,
44- " @typescript-eslint/dot-notation" : " off" ,
45- " @typescript-eslint/no-floating-promises" : " off" ,
46- " @typescript-eslint/no-unsafe-return" : " off" ,
47- " @typescript-eslint/no-unsafe-assignment" : " off" ,
48- " @typescript-eslint/no-unsafe-member-access" : " off" ,
49- " @typescript-eslint/no-unsafe-call" : " off" ,
50- " @typescript-eslint/member-ordering" : " off" ,
51- " @typescript-eslint/explicit-member-accessibility" : [
52- " off" ,
43+ ' @typescript-eslint/consistent-type-definitions' : ' error' ,
44+ ' @typescript-eslint/dot-notation' : ' off' ,
45+ ' @typescript-eslint/no-floating-promises' : ' off' ,
46+ ' @typescript-eslint/no-unsafe-return' : ' off' ,
47+ ' @typescript-eslint/no-unsafe-assignment' : ' off' ,
48+ ' @typescript-eslint/no-unsafe-member-access' : ' off' ,
49+ ' @typescript-eslint/no-unsafe-call' : ' off' ,
50+ ' @typescript-eslint/member-ordering' : ' off' ,
51+ ' @typescript-eslint/explicit-member-accessibility' : [
52+ ' off' ,
5353 {
54- accessibility : " explicit" ,
54+ accessibility : ' explicit' ,
5555 } ,
5656 ] ,
57- " @typescript-eslint/no-non-null-assertion" : " off" ,
58- " @typescript-eslint/no-use-before-define" : " off" ,
59- " brace-style" : [ " error" , " 1tbs" ] ,
60- complexity : " error" ,
61- " id-denylist" : " off" ,
62- " id-match" : " off" ,
63- " no-underscore-dangle" : " off" ,
64- " no-useless-escape" : " off" ,
57+ ' @typescript-eslint/no-non-null-assertion' : ' off' ,
58+ ' @typescript-eslint/no-use-before-define' : ' off' ,
59+ ' brace-style' : [ ' error' , ' 1tbs' ] ,
60+ complexity : ' error' ,
61+ ' id-denylist' : ' off' ,
62+ ' id-match' : ' off' ,
63+ ' no-underscore-dangle' : ' off' ,
64+ ' no-useless-escape' : ' off' ,
6565 } ,
6666 } ,
6767 {
68- files : [ " **/*.html" ] ,
68+ files : [ ' **/*.html' ] ,
6969 extends : [ ...angular . configs . templateRecommended ] ,
7070 rules : { } ,
7171 }
0 commit comments