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
|
- npm install
|
||||||
script:
|
script:
|
||||||
- npm run build
|
- 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": "rimraf build && npm run-script build:web && npm run-script build:app",
|
||||||
"build:web": "webpack --progress --profile --bail",
|
"build:web": "webpack --progress --profile --bail",
|
||||||
"build:app": "tsc -p tsconfig-app.json",
|
"build:app": "tsc -p tsconfig-app.json",
|
||||||
"lint": "npm run-script lint:app",
|
"lint": "npm run-script lint:app && npm run-script lint:web",
|
||||||
"lint:app": "tslint --project ./tsconfig-app.json -t stylish"
|
"lint:app": "tslint --project ./tsconfig-app.json -t stylish",
|
||||||
|
"lint:web": "tslint --project ./tsconfig.json -t stylish"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -65,7 +65,7 @@ export class AdminEditNebComponent implements OnInit, OnDestroy {
|
|||||||
this.nebApi.getConfigurations().then(configs => {
|
this.nebApi.getConfigurations().then(configs => {
|
||||||
const handledTypes: string[] = [];
|
const handledTypes: string[] = [];
|
||||||
for (const config of configs) {
|
for (const config of configs) {
|
||||||
if (config.id == nebId) {
|
if (config.id === nebId) {
|
||||||
this.nebConfig = config;
|
this.nebConfig = config;
|
||||||
} else {
|
} else {
|
||||||
for (const type of config.integrations) {
|
for (const type of config.integrations) {
|
||||||
|
Loading…
Reference in New Issue
Block a user