Skip to content

Commit

Permalink
Standardize lint and pretty scritps
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgall committed Mar 11, 2024
1 parent a576237 commit c0ddfda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code-syntax.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Build GraphQL client
run: npm run graphql:build
- name: Run tests
run: npm run lint
run: npm run lint:check
pretty:
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
"yup": "^1"
},
"scripts": {
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix",
"lint": "eslint . --ext .ts,.tsx --fix",
"lint:check": "eslint . --ext .ts,.tsx",
"pretty": "prettier . --write",
"pretty:check": "prettier . --check",
"dev": "npm run graphql:build && VITE_APP_GIT_HASH=`git rev-parse HEAD` vite",
Expand Down

0 comments on commit c0ddfda

Please sign in to comment.