Skip to content

Commit

Permalink
chore: adapt configuration to new husky
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Besson committed Nov 21, 2024
1 parent 0d858e4 commit 7d35096
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
npx --no-install lint-staged
lint-staged
4 changes: 0 additions & 4 deletions .lintstagedrc.json

This file was deleted.

9 changes: 9 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,14 @@
"ts-node": "10.9.2",
"type-fest": "4.27.0",
"typescript": "5.6.3"
},
"lint-staged": {
"*.ts": [
"eslint --fix --report-unused-disable-directives",
"prettier --write --ignore-unknown --list-different"
],
"*.{json,md}": [
"prettier --write --ignore-unknown --list-different"
]
}
}

0 comments on commit 7d35096

Please sign in to comment.