Skip to content

Commit f000cd3

Browse files
committed
fix: Lint before build
Linting during build is troublesome (see job# 402013884)
1 parent d96b4bd commit f000cd3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
before_script: greenkeeper-lockfile-update
1818
after_script: greenkeeper-lockfile-upload
1919
script:
20+
- yarn lint:nofix
2021
- yarn coveralls
2122
branches:
2223
except:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"author": "pandah <hrusikesh.panda@dowjones.com>",
2424
"license": "MIT",
2525
"scripts": {
26-
"build": "yarn lint:nofix && rimraf dist/**/* && cross-env NODE_ENV=production webpack --config webpack.config.js --bail --mode=production",
26+
"build": "rimraf dist/**/* && cross-env NODE_ENV=production webpack --config webpack.config.js --bail --mode=production",
2727
"build:docs": "yarn build && cross-env NODE_ENV=production webpack --config docs/webpack.config.js --bail --mode=production",
2828
"commit": "git-cz",
2929
"commitmsg": "commitlint -e $GIT_PARAMS",

0 commit comments

Comments
 (0)