File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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+ ],
15+ "createDefaultProgram" : true
16+ },
17+ "extends" : [
18+ " plugin:@angular-eslint/recommended" ,
19+ " plugin:@angular-eslint/template/process-inline-templates"
20+ ],
21+ "rules" : {
22+ "@angular-eslint/component-selector" : [
23+ " error" ,
24+ {
25+ "prefix" : " dp" ,
26+ "style" : " kebab-case" ,
27+ "type" : " element"
28+ }
29+ ],
30+ "@angular-eslint/directive-selector" : [
31+ " error" ,
32+ {
33+ "prefix" : " dp" ,
34+ "style" : " camelCase" ,
35+ "type" : " attribute"
36+ }
37+ ],
38+ "@angular-eslint/no-output-native" : [" off" ],
39+ "@angular-eslint/no-output-on-prefix" : [" off" ]
40+ }
41+ },
42+ {
43+ "files" : [
44+ " *.html"
45+ ],
46+ "extends" : [
47+ " plugin:@angular-eslint/template/recommended"
48+ ],
49+ "rules" : {}
50+ }
51+ ]
52+ }
Original file line number Diff line number Diff line change 11name : CI
22
3- on :
4- pull_request :
5- branches : [ master ]
3+ on : [pull_request]
64
75jobs :
86 build :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 9191 }
9292 },
9393 "lint" : {
94- "builder" : " @angular-devkit/build-angular:tslint " ,
94+ "builder" : " @angular-eslint/builder:lint " ,
9595 "options" : {
96- "tsConfig" : [
97- " src/tsconfig.app.json" ,
98- " src/tsconfig.spec.json"
99- ],
100- "exclude" : []
96+ "lintFilePatterns" : [
97+ " src/**/*.ts" ,
98+ " src/**/*.html"
99+ ]
101100 }
102101 }
103102 }
115114 }
116115 },
117116 "lint" : {
118- "builder" : " @angular-devkit/build-angular:tslint " ,
117+ "builder" : " @angular-eslint/builder:lint " ,
119118 "options" : {
120- "tsConfig " : [
121- " e2e/tsconfig.e2e.json "
122- ],
123- "exclude" : [ ]
119+ "lintFilePatterns " : [
120+ " src/**/*.ts " ,
121+ " src/**/*.html "
122+ ]
124123 }
125124 }
126125 }
135134 "@schematics/angular:directive" : {
136135 "prefix" : " dp"
137136 }
137+ },
138+ "cli" : {
139+ "defaultCollection" : " @angular-eslint/schematics"
138140 }
139141}
You can’t perform that action at this time.
0 commit comments