mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-01 01:20:25 +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:
|
hooks:
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- id: trailing-whitespace
|
- 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
|
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
||||||
rev: v1.5.5
|
rev: v1.5.5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user