File tree 4 files changed +2008
-109
lines changed 4 files changed +2008
-109
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "root" : true ,
3
+ "ignorePatterns" : [
4
+ " projects/**/*"
5
+ ],
6
+ "overrides" : [
7
+ {
8
+ "files" : [
9
+ " *.ts"
10
+ ],
11
+ "parserOptions" : {
12
+ "project" : [
13
+ " tsconfig.json" ,
14
+ " e2e/tsconfig.json"
15
+ ],
16
+ "createDefaultProgram" : true
17
+ },
18
+ "extends" : [
19
+ " plugin:@angular-eslint/recommended" ,
20
+ " plugin:@angular-eslint/template/process-inline-templates"
21
+ ],
22
+ "rules" : {
23
+ "@angular-eslint/directive-selector" : [
24
+ " error" ,
25
+ {
26
+ "type" : " attribute" ,
27
+ "prefix" : " " ,
28
+ "style" : " camelCase"
29
+ }
30
+ ],
31
+ "@angular-eslint/component-selector" : [
32
+ " error" ,
33
+ {
34
+ "type" : " element" ,
35
+ "prefix" : " app" ,
36
+ "style" : " kebab-case"
37
+ }
38
+ ]
39
+ }
40
+ },
41
+ {
42
+ "files" : [
43
+ " *.html"
44
+ ],
45
+ "extends" : [
46
+ " plugin:@angular-eslint/template/recommended"
47
+ ],
48
+ "rules" : {}
49
+ }
50
+ ]
51
+ }
Original file line number Diff line number Diff line change 1
1
{
2
2
"$schema" : " ./node_modules/@angular/cli/lib/config/schema.json" ,
3
3
"cli" : {
4
- "analytics" : " b3f3ba62-4e65-46bd-bee1-642764c1964e"
4
+ "analytics" : " b3f3ba62-4e65-46bd-bee1-642764c1964e" ,
5
+ "defaultCollection" : " @angular-eslint/schematics"
5
6
},
6
7
"version" : 1 ,
7
8
"newProjectRoot" : " projects" ,
101
102
],
102
103
"scripts" : []
103
104
}
105
+ },
106
+ "lint" : {
107
+ "builder" : " @angular-eslint/builder:lint" ,
108
+ "options" : {
109
+ "lintFilePatterns" : [
110
+ " src/**/*.ts" ,
111
+ " src/**/*.html"
112
+ ]
113
+ }
104
114
}
105
115
}
106
116
}
You can’t perform that action at this time.
0 commit comments