forked from lavina/lavina
35 lines
834 B
YAML
35 lines
834 B
YAML
|
repos:
|
||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||
|
rev: v4.5.0
|
||
|
hooks:
|
||
|
- id: check-toml
|
||
|
- id: check-vcs-permalinks
|
||
|
# - id: end-of-file-fixer
|
||
|
- id: fix-byte-order-marker
|
||
|
- id: mixed-line-ending
|
||
|
- id: trailing-whitespace
|
||
|
|
||
|
# - repo: https://github.com/tconbeer/sqlfmt
|
||
|
# rev: v0.18.0
|
||
|
# hooks:
|
||
|
# - id: sqlfmt
|
||
|
# language_version: python
|
||
|
|
||
|
- repo: https://github.com/sqlfluff/sqlfluff
|
||
|
rev: 3.0.3
|
||
|
hooks:
|
||
|
- id: sqlfluff-lint
|
||
|
- id: sqlfluff-fix
|
||
|
|
||
|
# - repo: https://github.com/pre-commit/mirrors-prettier
|
||
|
# rev: "v3.1.0"
|
||
|
# hooks:
|
||
|
# - id: prettier
|
||
|
# types_or: [ sql ]
|
||
|
|
||
|
# - repo: https://github.com/doublify/pre-commit-rust
|
||
|
# rev: master
|
||
|
# hooks:
|
||
|
# - id: fmt
|
||
|
# args: ['--verbose', '--edition', '2018', '--']
|