mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
Update linting to include the web project as well
This commit is contained in:
parent
7c757a79e6
commit
73acbb586f
@ -10,4 +10,4 @@ install:
|
||||
- npm install
|
||||
script:
|
||||
- npm run build
|
||||
- npm run lint:app
|
||||
- npm run lint
|
||||
|
@ -10,8 +10,9 @@
|
||||
"build": "rimraf build && npm run-script build:web && npm run-script build:app",
|
||||
"build:web": "webpack --progress --profile --bail",
|
||||
"build:app": "tsc -p tsconfig-app.json",
|
||||
"lint": "npm run-script lint:app",
|
||||
"lint:app": "tslint --project ./tsconfig-app.json -t stylish"
|
||||
"lint": "npm run-script lint:app && npm run-script lint:web",
|
||||
"lint:app": "tslint --project ./tsconfig-app.json -t stylish",
|
||||
"lint:web": "tslint --project ./tsconfig.json -t stylish"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -65,7 +65,7 @@ export class AdminEditNebComponent implements OnInit, OnDestroy {
|
||||
this.nebApi.getConfigurations().then(configs => {
|
||||
const handledTypes: string[] = [];
|
||||
for (const config of configs) {
|
||||
if (config.id == nebId) {
|
||||
if (config.id === nebId) {
|
||||
this.nebConfig = config;
|
||||
} else {
|
||||
for (const type of config.integrations) {
|
||||
|
Loading…
Reference in New Issue
Block a user