Update linting to include the web project as well

This commit is contained in:
Travis Ralston 2018-03-23 21:29:48 -06:00
parent 7c757a79e6
commit 73acbb586f
3 changed files with 5 additions and 4 deletions

View file

@ -10,4 +10,4 @@ install:
- npm install
script:
- npm run build
- npm run lint:app
- npm run lint

View file

@ -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",

View file

@ -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) {