Skip to content

Commit 8b928fa

Browse files
committed
[ZEPPELIN-6305] chore: apply npm run lint:fix
1 parent 49a80a1 commit 8b928fa

24 files changed

+65
-232
lines changed

zeppelin-web-angular/angular.json

Lines changed: 13 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,7 @@
7676
"./node_modules/github-markdown-css/github-markdown.css"
7777
],
7878
"stylePreprocessorOptions": {
79-
"includePaths": [
80-
"src/styles/theme",
81-
"src/styles/theme/dark",
82-
"src/styles/theme/light"
83-
]
79+
"includePaths": ["src/styles/theme", "src/styles/theme/dark", "src/styles/theme/light"]
8480
},
8581
"scripts": [
8682
"node_modules/mathjax/MathJax.js",
@@ -134,26 +130,16 @@
134130
"polyfills": "src/polyfills.ts",
135131
"tsConfig": "src/tsconfig.spec.json",
136132
"karmaConfig": "src/karma.conf.js",
137-
"styles": [
138-
"src/styles.less"
139-
],
133+
"styles": ["src/styles.less"],
140134
"scripts": [],
141-
"assets": [
142-
"src/favicon.ico",
143-
"src/assets"
144-
]
135+
"assets": ["src/favicon.ico", "src/assets"]
145136
}
146137
},
147138
"lint": {
148139
"builder": "@angular-devkit/build-angular:tslint",
149140
"options": {
150-
"tsConfig": [
151-
"src/tsconfig.app.json",
152-
"src/tsconfig.spec.json"
153-
],
154-
"exclude": [
155-
"**/node_modules/**"
156-
]
141+
"tsConfig": ["src/tsconfig.app.json", "src/tsconfig.spec.json"],
142+
"exclude": ["**/node_modules/**"]
157143
}
158144
}
159145
}
@@ -179,9 +165,7 @@
179165
"builder": "@angular-devkit/build-angular:tslint",
180166
"options": {
181167
"tsConfig": "e2e/tsconfig.json",
182-
"exclude": [
183-
"**/node_modules/**"
184-
]
168+
"exclude": ["**/node_modules/**"]
185169
}
186170
}
187171
}
@@ -210,13 +194,8 @@
210194
"lint": {
211195
"builder": "@angular-devkit/build-angular:tslint",
212196
"options": {
213-
"tsConfig": [
214-
"projects/zeppelin-helium/tsconfig.lib.json",
215-
"projects/zeppelin-helium/tsconfig.spec.json"
216-
],
217-
"exclude": [
218-
"**/node_modules/**"
219-
]
197+
"tsConfig": ["projects/zeppelin-helium/tsconfig.lib.json", "projects/zeppelin-helium/tsconfig.spec.json"],
198+
"exclude": ["**/node_modules/**"]
220199
}
221200
}
222201
}
@@ -249,9 +228,7 @@
249228
"projects/helium-vis-example/tsconfig.lib.json",
250229
"projects/helium-vis-example/tsconfig.spec.json"
251230
],
252-
"exclude": [
253-
"**/node_modules/**"
254-
]
231+
"exclude": ["**/node_modules/**"]
255232
}
256233
}
257234
}
@@ -284,9 +261,7 @@
284261
"projects/zeppelin-visualization/tsconfig.lib.json",
285262
"projects/zeppelin-visualization/tsconfig.spec.json"
286263
],
287-
"exclude": [
288-
"**/node_modules/**"
289-
]
264+
"exclude": ["**/node_modules/**"]
290265
}
291266
}
292267
}
@@ -315,17 +290,12 @@
315290
"lint": {
316291
"builder": "@angular-devkit/build-angular:tslint",
317292
"options": {
318-
"tsConfig": [
319-
"projects/zeppelin-sdk/tsconfig.lib.json",
320-
"projects/zeppelin-sdk/tsconfig.spec.json"
321-
],
322-
"exclude": [
323-
"**/node_modules/**"
324-
]
293+
"tsConfig": ["projects/zeppelin-sdk/tsconfig.lib.json", "projects/zeppelin-sdk/tsconfig.spec.json"],
294+
"exclude": ["**/node_modules/**"]
325295
}
326296
}
327297
}
328298
}
329299
},
330300
"defaultProject": "zeppelin"
331-
}
301+
}

zeppelin-web-angular/e2e/tsconfig.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
"outDir": "../out-tsc/e2e",
55
"module": "commonjs",
66
"target": "es5",
7-
"types": [
8-
"jasmine",
9-
"jasminewd2",
10-
"node"
11-
]
7+
"types": ["jasmine", "jasminewd2", "node"]
128
}
139
}

zeppelin-web-angular/projects/helium-vis-example/ng-package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
"lib": {
55
"entryFile": "src/public-api.ts"
66
}
7-
}
7+
}

zeppelin-web-angular/projects/helium-vis-example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
"@angular/common": "^8.2.9",
66
"@angular/core": "^8.2.9"
77
}
8-
}
8+
}

zeppelin-web-angular/projects/helium-vis-example/tsconfig.lib.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@
66
"declaration": true,
77
"inlineSources": true,
88
"types": [],
9-
"lib": [
10-
"dom",
11-
"es2018"
12-
]
9+
"lib": ["dom", "es2018"]
1310
},
1411
"angularCompilerOptions": {
1512
"annotateForClosureCompiler": true,
@@ -19,8 +16,5 @@
1916
"strictInjectionParameters": true,
2017
"enableResourceInlining": true
2118
},
22-
"exclude": [
23-
"src/test.ts",
24-
"**/*.spec.ts"
25-
]
19+
"exclude": ["src/test.ts", "**/*.spec.ts"]
2620
}

zeppelin-web-angular/projects/helium-vis-example/tsconfig.spec.json

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,8 @@
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
44
"outDir": "../../out-tsc/spec",
5-
"types": [
6-
"jasmine",
7-
"node"
8-
]
5+
"types": ["jasmine", "node"]
96
},
10-
"files": [
11-
"src/test.ts"
12-
],
13-
"include": [
14-
"**/*.spec.ts",
15-
"**/*.d.ts"
16-
]
7+
"files": ["src/test.ts"],
8+
"include": ["**/*.spec.ts", "**/*.d.ts"]
179
}
Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
{
22
"extends": "../../tslint.json",
33
"rules": {
4-
"directive-selector": [
5-
true,
6-
"attribute",
7-
"lib",
8-
"camelCase"
9-
],
10-
"component-selector": [
11-
true,
12-
"element",
13-
"lib",
14-
"kebab-case"
15-
]
4+
"directive-selector": [true, "attribute", "lib", "camelCase"],
5+
"component-selector": [true, "element", "lib", "kebab-case"]
166
}
177
}

zeppelin-web-angular/projects/zeppelin-helium/ng-package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
"lib": {
55
"entryFile": "src/public-api.ts"
66
}
7-
}
7+
}

zeppelin-web-angular/projects/zeppelin-helium/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
"rxjs": "~6.5.3",
1010
"ng-zorro-antd": "^8.3.0"
1111
}
12-
}
12+
}

zeppelin-web-angular/projects/zeppelin-helium/tsconfig.lib.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@
66
"declaration": true,
77
"inlineSources": true,
88
"types": [],
9-
"lib": [
10-
"dom",
11-
"es2018"
12-
]
9+
"lib": ["dom", "es2018"]
1310
},
1411
"angularCompilerOptions": {
1512
"annotateForClosureCompiler": true,
@@ -20,8 +17,5 @@
2017
"enableResourceInlining": true,
2118
"flatModuleId": "@zeppelin/helium"
2219
},
23-
"exclude": [
24-
"src/test.ts",
25-
"**/*.spec.ts"
26-
]
20+
"exclude": ["src/test.ts", "**/*.spec.ts"]
2721
}

0 commit comments

Comments
 (0)