git

My personal website source code
Log | Files | Refs | Submodules | README | LICENSE

commit ba7b92811fb560f372e96d65e490375a82e408aa
parent de8da940f9754a596762d7dbaeedb9c2ab49f13a
Author: Luís Ferreira <[email protected]>
Date:   Thu, 30 Sep 2021 17:17:54 +0100

pre-commit: add configuration file

Signed-off-by: Luís Ferreira <[email protected]>

Diffstat:
A.pre-commit-config.yaml | 21+++++++++++++++++++++
1 file changed, 21 insertions(+), 0 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml @@ -0,0 +1,21 @@ +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.0.1 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-json + - id: check-yaml + - id: sort-simple-yaml + - id: check-xml + - id: check-merge-conflict + - id: check-ast + - id: check-shebang-scripts-are-executable + - id: check-toml + - id: destroyed-symlinks + - id: detect-private-key + - id: fix-encoding-pragma + - id: no-commit-to-branch + args: [--branch, master] +ci: + autofix_prs: false