Skip to content

Commit

Permalink
chore: setup Husky and LintStaged
Browse files Browse the repository at this point in the history
  • Loading branch information
getlarge committed Aug 10, 2024
1 parent 32d8c86 commit a0fad76
Show file tree
Hide file tree
Showing 4 changed files with 708 additions and 15 deletions.
2 changes: 2 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[ -n "$CI" ] && exit 0
npx lint-staged --concurrent false --relative
4 changes: 4 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"*.ts": ["nx affected:lint --fix --files"],
"*": ["npx nx format:write --files"]
}
Loading

0 comments on commit a0fad76

Please sign in to comment.