diff --git a/.gitignore b/.gitignore index ec2481e..5595571 100644 --- a/.gitignore +++ b/.gitignore @@ -18,4 +18,3 @@ Sessionx.vim tags # Persistent undo [._]*.un~ - diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..279e5e4 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,26 @@ +# 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: v3.2.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-yaml + - id: check-xml + - id: check-json + - id: check-toml + - id: check-added-large-files + - id: check-case-conflict + - id: pretty-format-json + - id: check-symlinks + - id: detect-private-key + - id: sort-simple-yaml +- repo: https://github.com/Lucas-C/pre-commit-hooks + rev: v1.5.4 + hooks: + - id: remove-crlf +- repo: https://github.com/python-jsonschema/check-jsonschema + rev: 0.27.2 + hooks: + - id: check-drone-ci diff --git a/README.md b/README.md index 016ec1e..340f578 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # Generic-Template -Bsaic Template Repository with workflow items present \ No newline at end of file +Bsaic Template Repository with workflow items present