2023-02-21 15:16:09 +01:00
|
|
|
# Remember to run `pre-commit install` at least once!
|
|
|
|
# Manual test run: `pre-commit run --all-files`
|
2023-02-21 15:24:09 +01:00
|
|
|
# Update? `pre-commit autoupdate`
|
|
|
|
#
|
2023-02-21 15:16:09 +01:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
repos:
|
2023-02-21 16:52:47 +01:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2023-02-21 15:16:09 +01:00
|
|
|
rev: v4.4.0
|
|
|
|
hooks:
|
2023-02-24 14:03:23 +01:00
|
|
|
- id: check-added-large-files
|
2023-02-21 16:52:47 +01:00
|
|
|
- id: check-case-conflict
|
|
|
|
- id: check-executables-have-shebangs
|
|
|
|
- id: check-shebang-scripts-are-executable
|
|
|
|
- id: destroyed-symlinks
|
|
|
|
- id: detect-private-key
|
2023-02-21 19:09:54 +01:00
|
|
|
- id: end-of-file-fixer
|
2023-02-21 16:52:47 +01:00
|
|
|
- id: fix-byte-order-marker
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
|
|
rev: "v3.0.0-alpha.4"
|
|
|
|
hooks:
|
|
|
|
- id: prettier
|
2023-02-21 18:28:28 +01:00
|
|
|
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
|
|
|
rev: "2.7.1"
|
2023-02-21 17:23:28 +01:00
|
|
|
hooks:
|
2023-02-21 18:28:28 +01:00
|
|
|
- id: editorconfig-checker
|
2023-02-21 17:23:28 +01:00
|
|
|
alias: ec
|