mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 19:20:09 +00:00
[precommit] Default EOL as LF (and CRLF for .cmd and .ps1 files)
This commit is contained in:
parent
67a971618d
commit
a154faf3f9
@ -6,6 +6,12 @@ repos:
|
||||
hooks:
|
||||
- id: end-of-file-fixer
|
||||
- id: trailing-whitespace
|
||||
- id: mixed-line-ending
|
||||
args: [ --fix=lf ]
|
||||
exclude: '.*\.cmd$|.*\.ps1$'
|
||||
- id: mixed-line-ending
|
||||
args: [ --fix=crlf ]
|
||||
files: '.*\.cmd$|.*\.ps1$'
|
||||
|
||||
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
||||
rev: v1.5.5
|
||||
|
Loading…
x
Reference in New Issue
Block a user