Skip to content

Commit

Permalink
feat: update lint-stage
Browse files Browse the repository at this point in the history
  • Loading branch information
YanceyOfficial committed Nov 29, 2024
1 parent 497cfaf commit 8822d34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .lintstagedrc.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"apps/*": ['pnpm run lint']
}
'apps/**/*.{js,ts,tsx}': ['prettier --write', 'eslint --fix'],
'packages/**/*.{js,ts,tsx}': ['prettier --write', 'eslint --fix']
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"scripts": {
"build": "turbo build",
"dev": "turbo dev",
"lint": "turbo lint --",
"lint": "turbo lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"prepare": "husky"
},
Expand Down

0 comments on commit 8822d34

Please sign in to comment.