Add pre-commit hook. (#18)

This commit is contained in:
Mikaël Capelle
2025-05-29 11:31:10 +02:00
committed by GitHub
parent ec875fcb59
commit c2e46cc368
3 changed files with 16 additions and 5 deletions
+15
View File
@@ -0,0 +1,15 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-merge-conflict
- id: check-case-conflict
ci:
autofix_commit_msg: "[pre-commit.ci] Auto fixes from pre-commit.com hooks."
autofix_prs: true
autoupdate_commit_msg: "[pre-commit.ci] Pre-commit autoupdate."
autoupdate_schedule: quarterly
submodules: false
-4
View File
@@ -1,4 +0,0 @@
int main()
{
return 0;
}
+1 -1
View File
@@ -8214,4 +8214,4 @@
"default":"255"
}
}
}
}