Skip to content

Commit 40616f4

Browse files
committed
ci: should fail on autofixable lint errors
1 parent b7f83b4 commit 40616f4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
steps:
5151
- attach_workspace:
5252
at: ~/
53-
- run: yarn lint
53+
- run: yarn lint-without-fix
5454
- run: yarn check-links
5555
- run: yarn test -p cli-service-global,eslint,pwa,babel,babel-preset-app,vuex,router
5656

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"test": "node scripts/test.js",
1010
"pretest": "yarn clean",
1111
"lint": "eslint --fix packages/**/*.js packages/**/bin/*",
12+
"lint-without-fix": "eslint packages/**/*.js packages/**/bin/*",
1213
"check-links": "node scripts/checkLinks.js",
1314
"clean": "rimraf packages/test/* packages/**/temp/*",
1415
"sync": "node scripts/syncDeps.js",

0 commit comments

Comments
 (0)