From 72b4c4401af5cba800a669e6cae30fefc18d8f4f Mon Sep 17 00:00:00 2001 From: mtgto Date: Wed, 11 Mar 2020 22:06:45 +0900 Subject: [PATCH] Add the lint to CI script (#87) --- appveyor.yml | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 1bef398056..1ff596d5b0 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -19,6 +19,7 @@ before_build: build_script: - cmd: npm install +- cmd: npm run lint - cmd: npm run build - cmd: npm run test - cmd: 7z a coverage-%APPVEYOR_BUILD_NUMBER%.zip coverage\* diff --git a/package.json b/package.json index 03e5e619c6..d10190eccf 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "clean": "rimraf dist/**/*", "build": "npm run clean && tsc", "build:watch": "npm run clean && tsc -watch", - "lint": "tslint src/**/*.ts spec/**/*.ts || true", + "lint": "tslint src/**/*.ts spec/**/*.ts", "lint:fix": "tslint src/**/*.ts spec/**/*.ts --fix", "test": "karma start ./spec/support/karma.conf.js --single-run", "test:watch": "karma start ./spec/support/karma.conf.js",