Skip to content

Commit

Permalink
Add pre-commit hook to normalize line ending (#1142)
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed May 16, 2024
1 parent 87e1c6e commit be08288
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 70 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-added-large-files
- id: mixed-line-ending
args: [--fix=lf]
exclude_types: [batch]
- id: mixed-line-ending
args: [--fix=crlf]
types: [batch]

- repo: https://github.com/crate-ci/typos
rev: v1.18.0
hooks:
Expand Down
Loading

0 comments on commit be08288

Please sign in to comment.