Skip to content

Commit 6b358d6

Browse files
committed
feat(angular16): activates lint-staged config
1 parent 4147371 commit 6b358d6

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.husky/pre-commit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4+
[ -n "$CI" ] && exit 0
45

6+
npx lint-staged

.lintstagedrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
2+
"*.{js,jsx,ts,tsx,md,html,css,scss}": "prettier --write"
33
}

0 commit comments

Comments
 (0)