Commit 529fe3e 1 parent ea0225a commit 529fe3e Copy full SHA for 529fe3e
File tree 4 files changed +19
-18
lines changed
4 files changed +19
-18
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ const angular = require('angular-eslint');
6
6
module . exports = tseslint . config (
7
7
{
8
8
files : [ '**/*.ts' ] ,
9
+ ignores : [ 'dist/**' ] ,
9
10
extends : [
10
11
eslint . configs . recommended ,
11
12
...tseslint . configs . recommended ,
@@ -31,12 +32,15 @@ module.exports = tseslint.config(
31
32
'@typescript-eslint/no-empty-function' : 'off' ,
32
33
'@typescript-eslint/no-inferrable-types' : 'off' ,
33
34
'@typescript-eslint/no-unused-vars' : 'off' ,
35
+ '@angular-eslint/component-class-suffix' : 'off' ,
36
+ '@angular-eslint/directive-class-suffix' : 'off' ,
34
37
'@angular-eslint/no-empty-lifecycle-method' : 'off' ,
35
38
'@angular-eslint/no-output-native' : 'off' ,
36
39
} ,
37
40
} ,
38
41
{
39
42
files : [ '**/*.html' ] ,
43
+ ignores : [ 'dist/**' ] ,
40
44
extends : [ ...angular . configs . templateRecommended , ...angular . configs . templateAccessibility ] ,
41
45
rules : {
42
46
'@angular-eslint/template/prefer-self-closing-tags' : 'warn' ,
Original file line number Diff line number Diff line change 1
1
// @ts -check
2
- const tseslint = require ( " typescript-eslint" ) ;
3
- const rootConfig = require ( " ../../eslint.config.js" ) ;
2
+ const tseslint = require ( ' typescript-eslint' ) ;
3
+ const rootConfig = require ( ' ../../eslint.config.js' ) ;
4
4
5
5
module . exports = tseslint . config (
6
6
...rootConfig ,
7
7
{
8
- files : [ " **/*.ts" ] ,
8
+ files : [ ' **/*.ts' ] ,
9
9
rules : {
10
- " @angular-eslint/directive-selector" : [
11
- " error" ,
10
+ ' @angular-eslint/directive-selector' : [
11
+ ' error' ,
12
12
{
13
- type : " attribute" ,
14
- prefix : " app" ,
15
- style : " camelCase" ,
13
+ type : ' attribute' ,
14
+ prefix : ' app' ,
15
+ style : ' camelCase' ,
16
16
} ,
17
17
] ,
18
- " @angular-eslint/component-selector" : [
19
- " error" ,
18
+ ' @angular-eslint/component-selector' : [
19
+ ' error' ,
20
20
{
21
- type : " element" ,
22
- prefix : " app" ,
23
- style : " kebab-case" ,
21
+ type : ' element' ,
22
+ prefix : ' app' ,
23
+ style : ' kebab-case' ,
24
24
} ,
25
25
] ,
26
26
} ,
27
27
} ,
28
28
{
29
- files : [ " **/*.html" ] ,
29
+ files : [ ' **/*.html' ] ,
30
30
rules : { } ,
31
31
}
32
32
) ;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ module.exports = tseslint.config(
11
11
'error' ,
12
12
{
13
13
type : 'attribute' ,
14
- prefix : 'gui ' ,
14
+ prefix : '' ,
15
15
style : 'camelCase' ,
16
16
} ,
17
17
] ,
@@ -23,8 +23,6 @@ module.exports = tseslint.config(
23
23
style : 'kebab-case' ,
24
24
} ,
25
25
] ,
26
- '@angular-eslint/directive-class-suffix' : 'off' ,
27
- '@angular-eslint/component-class-suffix' : 'off' ,
28
26
} ,
29
27
} ,
30
28
{
Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ export class GuiEjsPipe implements PipeTransform {
55
55
}
56
56
57
57
@Directive ( {
58
- // eslint-disable-next-line @angular-eslint/directive-selector
59
58
selector : '[flex]' ,
60
59
standalone : true ,
61
60
} )
You can’t perform that action at this time.
0 commit comments