Skip to content

Commit

Permalink
Merge pull request #143 from db-ui/142-replace-pretty-quick-by-lint-s…
Browse files Browse the repository at this point in the history
…taged

refactor: replaced pretty-quick by lint-staged
  • Loading branch information
mfranzke authored Jan 8, 2024
2 parents dfc5187 + fa56dad commit 5fc0217
Show file tree
Hide file tree
Showing 5 changed files with 1,024 additions and 590 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --yes pretty-quick --staged
npx lint-staged
3 changes: 3 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"*": "prettier --write --ignore-unknown"
}
Loading

0 comments on commit 5fc0217

Please sign in to comment.