diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..df8de21 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,9 @@ +# See https://pre-commit.com for more information +# See https://pre-commit.com/hooks.html for more hooks +repos: +- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks + rev: v1.5.0 + hooks: + - id: pretty-format-yaml + args: [--autofix, --indent, '2'] +