diff --git a/.travis.yml b/.travis.yml index 7e38fd91..f1e78ff1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,7 @@ jobs: before_script: greenkeeper-lockfile-update after_script: greenkeeper-lockfile-upload script: + - yarn lint:nofix - yarn coveralls branches: except: diff --git a/package.json b/package.json index 3746e78a..6ddf59f1 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "author": "pandah ", "license": "MIT", "scripts": { - "build": "yarn lint:nofix && rimraf dist/**/* && cross-env NODE_ENV=production webpack --config webpack.config.js --bail --mode=production", + "build": "rimraf dist/**/* && cross-env NODE_ENV=production webpack --config webpack.config.js --bail --mode=production", "build:docs": "yarn build && cross-env NODE_ENV=production webpack --config docs/webpack.config.js --bail --mode=production", "commit": "git-cz", "commitmsg": "commitlint -e $GIT_PARAMS",