Skip to content

Commit

Permalink
eslint: remove --fix per #124 and instead add yarn lint to github act…
Browse files Browse the repository at this point in the history
…ion. (#168)
  • Loading branch information
pablo-mayrgundter committed Apr 5, 2022
1 parent 0491afb commit e7a70f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ jobs:
run: |
echo Running tests
yarn install
yarn lint
yarn test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"copy-web-asm": "cp node_modules/web-ifc/*.wasm public/static/js",
"build": "yarn copy-web-asm && yarn clean && yarn new-version && node config/build.js",
"serve": "yarn build && node config/serve.js",
"lint": "yarn eslint --fix `find src -name '*.jsx'` `find src -name '*.js'`",
"lint": "yarn eslint `find src -name '*.jsx'` `find src -name '*.js'`",
"test": "jest",
"precommit": "yarn test && yarn lint"
},
Expand Down

0 comments on commit e7a70f6

Please sign in to comment.