Skip to content

Commit

Permalink
ci: should fail on autofixable lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang committed Nov 26, 2019
1 parent b7f83b4 commit 40616f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
steps:
- attach_workspace:
at: ~/
- run: yarn lint
- run: yarn lint-without-fix
- run: yarn check-links
- run: yarn test -p cli-service-global,eslint,pwa,babel,babel-preset-app,vuex,router

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"test": "node scripts/test.js",
"pretest": "yarn clean",
"lint": "eslint --fix packages/**/*.js packages/**/bin/*",
"lint-without-fix": "eslint packages/**/*.js packages/**/bin/*",
"check-links": "node scripts/checkLinks.js",
"clean": "rimraf packages/test/* packages/**/temp/*",
"sync": "node scripts/syncDeps.js",
Expand Down

0 comments on commit 40616f4

Please sign in to comment.