Skip to content

Commit 4ef0d26

Browse files
authored
Merge pull request #167 from OpenLiberty/staging
Merge staging to prod - Update dependencies (#164)
2 parents 70565f5 + 0a6f659 commit 4ef0d26

File tree

12 files changed

+36472
-23225
lines changed

12 files changed

+36472
-23225
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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/component-selector": [
24+
"error",
25+
{
26+
"prefix": "app",
27+
"style": "kebab-case",
28+
"type": "element"
29+
}
30+
],
31+
"@angular-eslint/directive-selector": [
32+
"error",
33+
{
34+
"prefix": "app",
35+
"style": "camelCase",
36+
"type": "attribute"
37+
}
38+
]
39+
}
40+
},
41+
{
42+
"files": [
43+
"*.html"
44+
],
45+
"extends": [
46+
"plugin:@angular-eslint/template/recommended"
47+
],
48+
"rules": {}
49+
}
50+
]
51+
}

finish/src/main/frontend/angular.json

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
{
22
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"cli": {
4+
"analytics": "23081175-a489-458b-8e94-925dfb8c1d43",
5+
"defaultCollection": "@angular-eslint/schematics"
6+
},
37
"version": 1,
48
"newProjectRoot": "projects",
59
"projects": {
@@ -97,14 +101,11 @@
97101
}
98102
},
99103
"lint": {
100-
"builder": "@angular-devkit/build-angular:tslint",
104+
"builder": "@angular-eslint/builder:lint",
101105
"options": {
102-
"tsConfig": [
103-
"src/tsconfig.app.json",
104-
"src/tsconfig.spec.json"
105-
],
106-
"exclude": [
107-
"**/node_modules/**"
106+
"lintFilePatterns": [
107+
"src/**/*.ts",
108+
"src/**/*.html"
108109
]
109110
}
110111
}
@@ -128,11 +129,11 @@
128129
}
129130
},
130131
"lint": {
131-
"builder": "@angular-devkit/build-angular:tslint",
132+
"builder": "@angular-eslint/builder:lint",
132133
"options": {
133-
"tsConfig": "e2e/tsconfig.e2e.json",
134-
"exclude": [
135-
"**/node_modules/**"
134+
"lintFilePatterns": [
135+
"e2e//**/*.ts",
136+
"e2e//**/*.html"
136137
]
137138
}
138139
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"extends": "../../.eslintrc.json",
3+
"ignorePatterns": [
4+
"!**/*"
5+
],
6+
"overrides": [
7+
{
8+
"files": [
9+
"*.ts"
10+
],
11+
"parserOptions": {
12+
"project": [
13+
"e2e//tsconfig.app.json",
14+
"e2e//tsconfig.spec.json",
15+
"e2e//e2e/tsconfig.json"
16+
],
17+
"createDefaultProgram": true
18+
},
19+
"rules": {
20+
"@angular-eslint/directive-selector": [
21+
"error",
22+
{
23+
"type": "attribute",
24+
"prefix": "",
25+
"style": "camelCase"
26+
}
27+
],
28+
"@angular-eslint/component-selector": [
29+
"error",
30+
{
31+
"type": "element",
32+
"prefix": "",
33+
"style": "kebab-case"
34+
}
35+
]
36+
}
37+
},
38+
{
39+
"files": [
40+
"*.html"
41+
],
42+
"rules": {}
43+
}
44+
]
45+
}

0 commit comments

Comments
 (0)