Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Commit

Permalink
Update linting to include the web project as well
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live committed Mar 24, 2018
1 parent 7c757a7 commit 73acbb5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -10,4 +10,4 @@ install:
- npm install
script:
- npm run build
- npm run lint:app
- npm run lint
5 changes: 3 additions & 2 deletions package.json
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion web/app/admin/neb/edit/edit.component.ts
Expand Up @@ -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) {
Expand Down

0 comments on commit 73acbb5

Please sign in to comment.