Skip to content

Commit

Permalink
Fix issue and test
Browse files Browse the repository at this point in the history
  • Loading branch information
Singa-pirate committed Sep 16, 2024
1 parent a497aff commit 457cf0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
working-directory: ./frontend

- name: ESLint
run: npx eslint **/*.js
run: npx eslint src/**/*.js
working-directory: ./frontend

- name: Lint
- name: Prettier
run: npx prettier --check .
working-directory: ./frontend
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint **/*.js & prettier --write ."
"lint": "eslint src/**/*.js --fix & prettier --write ."
},
"eslintConfig": {
"extends": [
Expand Down

0 comments on commit 457cf0d

Please sign in to comment.