1
0
Fork 0
mirror of https://github.com/cisagov/log4j-affected-db.git synced 2024-11-23 00:50:48 +00:00

Enable two additional hooks from default pre-commit-hooks

Enabled 'check-case-conflict' because of our mixed Linux and macOS development.
Although APFS supports case-sensitive containers, it is not the default as far
as I am aware. Linux filesystems are typically case-sensitive however.

With the merge of https://github.com/cisagov/development-guide/pull/42 we now
have a TOML file in a repository, so it does not hurt to add this hook in case
more are added in the future.
This commit is contained in:
Nicholas McDonnell 2020-12-16 18:21:03 -05:00
parent 5115baee52
commit a7f86ddad0
No known key found for this signature in database
GPG key ID: 7994ADE2A56BE5D1

View file

@ -7,9 +7,11 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0 rev: v3.2.0
hooks: hooks:
- id: check-case-conflict
- id: check-executables-have-shebangs - id: check-executables-have-shebangs
- id: check-json - id: check-json
- id: check-merge-conflict - id: check-merge-conflict
- id: check-toml
- id: check-xml - id: check-xml
- id: debug-statements - id: debug-statements
- id: detect-aws-credentials - id: detect-aws-credentials