-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# For available hooks and configuration options see: https://pre-commit.com/hooks.html | ||
# To manage and run locally, first install `pre-commit` https://pre-commit.com/#installation | ||
# To auto update to the latest versions `pre-commit autoupdate` | ||
# To manually run against all files `pre-commit run --all-files` | ||
# To force hooks to run on local commits `pre-commit install` | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.5.0 | ||
hooks: | ||
- id: no-commit-to-branch | ||
args: [--branch, develop, --branch, main] | ||
- id: check-json | ||
exclude: .vscode/settings\.json|tsconfig | ||
- id: check-yaml | ||
- id: detect-private-key | ||
# https://pre-commit.ci/ | ||
ci: | ||
autofix_commit_msg: | | ||
[pre-commit.ci] auto fixes from pre-commit.com hooks | ||
for more information, see https://pre-commit.ci | ||
autofix_prs: true | ||
autoupdate_branch: "main" | ||
autoupdate_commit_msg: "[pre-commit.ci] pre-commit autoupdate" | ||
autoupdate_schedule: monthly | ||
submodules: false |