Skip to content

Commit e24d73c

Browse files
chore: add husky and lint-staged for pre-commit hooks
1 parent 249689c commit e24d73c

5 files changed

Lines changed: 587 additions & 5 deletions

File tree

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx lint-staged

.jscpd.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
{
2-
"ignore": [
3-
"docs/Configuration/Views/week,-month.md",
4-
"**/node_modules/**"
5-
]
2+
"ignore": ["docs/Configuration/Views/week,-month.md", "**/node_modules/**"]
63
}

.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
*.js
2-
*.json
32
*.mjs

0 commit comments

Comments
 (0)