diff --git a/appveyor.yml b/appveyor.yml index 1bef3980562..1ff596d5b00 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 03e5e619c69..d10190eccf4 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",