Skip to content

Commit 97e0b52

Browse files
shin19991207dependabot[bot]gkwan-ibm
authored
Update dependencies (#164)
* Update package-lock.json * Bump ansi-regex from 5.0.0 to 5.0.1 in /finish/src/main/frontend Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1. - [Release notes](https://github.com/chalk/ansi-regex/releases) - [Commits](chalk/ansi-regex@v5.0.0...v5.0.1) --- updated-dependencies: - dependency-name: ansi-regex dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * Update package-lock.json * Update package-lock.json * Update package-lock.json * Update package-lock.json * Update package.json * upgrade @angular-devkit/build-angular * Migration of tslint to eslint * Update package-lock.json * Migration of tslint to eslint Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gilbert Kwan <[email protected]>
1 parent 35503b8 commit 97e0b52

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)