Skip to content

Commit

Permalink
chore(package.json): merge scripts to create a single lint command wi…
Browse files Browse the repository at this point in the history
…th both eslint e prettier
  • Loading branch information
allbertuu committed Mar 4, 2024
1 parent 3c30c76 commit 6888bc6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
"build": "tsc && vite build",
"preview": "vite preview",
"test": "vitest",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint:fix": "eslint . --fix"
"lint:fix": "eslint . --fix && prettier --write .",
"lint:check": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 && prettier --check ."
},
"dependencies": {
"@phosphor-icons/react": "^2.0.15",
Expand Down

0 comments on commit 6888bc6

Please sign in to comment.