chore: add pre-commit config
This commit is contained in:
parent
b2e61a04bd
commit
f4dbc584e1
2 changed files with 25 additions and 0 deletions
24
.pre-commit-config.yaml
Normal file
24
.pre-commit-config.yaml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
# See https://pre-commit.com for more information
|
||||
# See https://pre-commit.com/hooks.html for more hooks
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.3.0
|
||||
hooks:
|
||||
- id: check-added-large-files
|
||||
- id: check-case-conflict
|
||||
- id: check-executables-have-shebangs
|
||||
- id: check-shebang-scripts-are-executable
|
||||
- id: check-symlinks
|
||||
- id: destroyed-symlinks
|
||||
|
||||
- id: check-json
|
||||
- id: check-yaml
|
||||
- id: check-xml
|
||||
- id: check-toml
|
||||
|
||||
- id: check-vcs-permalinks
|
||||
- id: check-merge-conflict
|
||||
- id: end-of-file-fixer
|
||||
- id: mixed-line-ending
|
||||
- id: trailing-whitespace
|
||||
1
changes/changelog.d/add_pre-commit.misc
Normal file
1
changes/changelog.d/add_pre-commit.misc
Normal file
|
|
@ -0,0 +1 @@
|
|||
Add pre-commit to development tools
|
||||
Loading…
Add table
Add a link
Reference in a new issue