diff --git a/.travis.yml b/.travis.yml index ded455e..af5dd3c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,4 +10,4 @@ install: - npm install script: - npm run build - - npm run lint:app + - npm run lint diff --git a/package.json b/package.json index 97afd29..4a4b387 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/web/app/admin/neb/edit/edit.component.ts b/web/app/admin/neb/edit/edit.component.ts index 8d46437..aea5a7d 100644 --- a/web/app/admin/neb/edit/edit.component.ts +++ b/web/app/admin/neb/edit/edit.component.ts @@ -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) {