Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: pre-commit linting #703

Merged
merged 10 commits into from
Sep 11, 2024
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
7 changes: 7 additions & 0 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"*": [
"npm ci",
"npx pepr format --validate-only",
UnicornChance marked this conversation as resolved.
Show resolved Hide resolved
"yamllint -c .yamllint --no-warnings"
]
UnicornChance marked this conversation as resolved.
Show resolved Hide resolved
}
Loading