diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..d3c0a35 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,36 @@ +# https://pre-commit.com/hooks.html +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.5.0 + hooks: + - id: check-added-large-files + - id: check-yaml + - id: check-json + - id: check-xml + - id: check-merge-conflict + - id: check-symlinks + - id: check-executables-have-shebangs + - id: check-shebang-scripts-are-executable + - id: check-docstring-first + - id: check-case-conflict + - id: forbid-submodules + - repo: https://github.com/markdownlint/markdownlint + rev: v0.12.0 + hooks: + - id: markdownlint + args: + - '-r ~MD013' + - repo: https://github.com/digitalpulp/pre-commit-php + rev: 1.4.0 + hooks: + - id: php-lint-all + - id: php-cs-fixer + - id: php-stan + - repo: https://github.com/sqlfluff/sqlfluff + rev: 3.0.5 + hooks: + - id: sqlfluff-lint + - repo: https://github.com/hija/clean-dotenv + rev: v0.0.7 + hooks: + - id: clean-dotenv