Skip to content

Commit

Permalink
Add pre-commit hooks
Browse files Browse the repository at this point in the history
See https://pre-commit.com/ for more information.
  • Loading branch information
Calinou committed Mar 1, 2019
1 parent 40b3de0 commit e696c26
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace

- id: mixed-line-ending
args: [--fix=lf]

0 comments on commit e696c26

Please sign in to comment.