File tree Expand file tree Collapse file tree 8 files changed +9315
-30113
lines changed
Expand file tree Collapse file tree 8 files changed +9315
-30113
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "root" : true ,
3+ "ignorePatterns" : [" projects/**/*" ],
4+ "overrides" : [
5+ {
6+ "files" : [" *.ts" ],
7+ "parserOptions" : {
8+ "project" : [" tsconfig.json" ],
9+ "createDefaultProgram" : true
10+ },
11+ "extends" : [
12+ " plugin:@angular-eslint/recommended" ,
13+ " plugin:@angular-eslint/template/process-inline-templates"
14+ ],
15+ "rules" : {
16+ "@angular-eslint/component-class-suffix" : [
17+ " error" ,
18+ {
19+ "suffixes" : [" Page" , " Component" ]
20+ }
21+ ],
22+ "@angular-eslint/component-selector" : [
23+ " error" ,
24+ {
25+ "type" : " element" ,
26+ "prefix" : " app" ,
27+ "style" : " kebab-case"
28+ }
29+ ],
30+ "@angular-eslint/directive-selector" : [
31+ " error" ,
32+ {
33+ "type" : " attribute" ,
34+ "prefix" : " app" ,
35+ "style" : " camelCase"
36+ }
37+ ]
38+ }
39+ },
40+ {
41+ "files" : [" *.html" ],
42+ "extends" : [" plugin:@angular-eslint/template/recommended" ],
43+ "rules" : {}
44+ }
45+ ]
46+ }
Original file line number Diff line number Diff line change @@ -29,3 +29,4 @@ npm-debug.log*
2929/platforms
3030/plugins
3131/www
32+ /.angular
Original file line number Diff line number Diff line change 11{
22 "$schema" : " ./node_modules/@angular/cli/lib/config/schema.json" ,
33 "version" : 1 ,
4- "defaultProject" : " app" ,
54 "newProjectRoot" : " projects" ,
65 "projects" : {
76 "app" : {
1413 "build" : {
1514 "builder" : " @angular-devkit/build-angular:browser" ,
1615 "options" : {
16+ "allowedCommonJsDependencies" : [
17+ " localforage"
18+ ],
1719 "outputPath" : " www" ,
1820 "index" : " src/index.html" ,
1921 "main" : " src/main.ts" ,
7173 "configurations" : {
7274 "production" : {
7375 "browserTarget" : " app:build:production"
74- },
75- "ci" : {
76- "progress" : false
7776 }
7877 }
7978 },
113112 }
114113 },
115114 "lint" : {
116- "builder" : " @angular-devkit/build-angular:tslint " ,
115+ "builder" : " @angular-eslint/builder:lint " ,
117116 "options" : {
118117 "tsConfig" : [
119118 " tsconfig.app.json" ,
165164 }
166165 }
167166 },
168- "cli" : {
169- "defaultCollection" : " @ionic/angular-toolkit"
170- },
171167 "schematics" : {
172168 "@ionic/angular-toolkit:component" : {
173169 "styleext" : " scss"
You can’t perform that action at this time.
0 commit comments