Skip to content

Commit

Permalink
chore: remove eslint default parameter, add prettier command
Browse files Browse the repository at this point in the history
  • Loading branch information
csm-thu committed Oct 15, 2021
1 parent 4bb429b commit b00fb4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: '14'
- run: yarn install && yarn eslint
- run: yarn install && yarn eslint .
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
"test": "react-scripts test --watchAll=false",
"eject": "react-scripts eject",
"cypress": "node_modules/.bin/cypress open",
"eslint": "eslint $INIT_CWD"
"eslint": "eslint",
"prettier": "npx prettier -w"
},
"eslintConfig": {
"extends": [
Expand Down

0 comments on commit b00fb4a

Please sign in to comment.