Skip to content

Commit

Permalink
fix: Lint before build
Browse files Browse the repository at this point in the history
Linting during build is troublesome (see job# 402013884)
  • Loading branch information
mrchief committed Jul 10, 2018
1 parent d96b4bd commit f000cd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
before_script: greenkeeper-lockfile-update
after_script: greenkeeper-lockfile-upload
script:
- yarn lint:nofix
- yarn coveralls
branches:
except:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"author": "pandah <hrusikesh.panda@dowjones.com>",
"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",
Expand Down

0 comments on commit f000cd3

Please sign in to comment.