Skip to content

Commit

Permalink
chore(code-quality): switch format to format:check
Browse files Browse the repository at this point in the history
  • Loading branch information
hougesen committed Mar 23, 2023
1 parent ea10165 commit 6aafc7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,4 @@ jobs:
run: npm run lint

- name: Run format 💎
run: npm run format

- uses: EndBug/add-and-commit@v9
with:
message: 'style: code quality fixes from code-quality.yml'
run: npm run format:check
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"start": "node dist/index.js",
"build": "tsc",
"format": "prettier --ignore-path .gitignore --write .",
"lint": "",
"format:check": "prettier --check --ignore-path .gitignore --write .",
"lint": "eslint --ext \".js,.mjs,.ts,.d.ts\" --ignore-path .gitignore .",
"test": "vitest --run",
"test:watch": "vitest",
"local": "npm uninstall -g && npm install -g && json2struct"
Expand Down

0 comments on commit 6aafc7a

Please sign in to comment.