diff --git a/.travis.yml b/.travis.yml index fbc468ff0a..d3bd5f30a4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,4 +7,5 @@ matrix: install: - npm install script: + - npm run lint - npm run build diff --git a/appveyor.yml b/appveyor.yml index 6316d34ed4..a5b11a141c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -57,6 +57,7 @@ before_build: build_script: - npm install +- npm run lint - ps: | if($isLinux) { npm run dist:lin diff --git a/package.json b/package.json index bdaec99ba9..6baf952c7a 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "symlink:win": "rm -rf ./jslib && cmd /c mklink /J .\\jslib ..\\jslib", "symlink:mac": "npm run symlink:lin", "symlink:lin": "rm -rf ./jslib && ln -s ../jslib ./jslib", - "lint": "tslint src/**/*.ts || true", + "lint": "tslint src/**/*.ts", "lint:fix": "tslint src/**/*.ts --fix", "build": "concurrently -n Main,Rend -c yellow,cyan \"npm run build:main\" \"npm run build:renderer\"", "build:main": "webpack --config webpack.main.js",