diff --git a/.circleci/config.yml b/.circleci/config.yml index 761cbb6302..28a61ec3dc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/package.json b/package.json index 189f74c4cb..74934b7dd0 100644 --- a/package.json +++ b/package.json @@ -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",