use pre-commit to force trailing ending line & remove trailing whitespaces at end of lines
This commit is contained in:
parent
55b9aeca11
commit
cca961f6c2
126 changed files with 135 additions and 139 deletions
6
.pre-commit-config.yaml
Normal file
6
.pre-commit-config.yaml
Normal file
|
@ -0,0 +1,6 @@
|
|||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v5.0.0 # Use the latest stable version
|
||||
hooks:
|
||||
- id: end-of-file-fixer
|
||||
- id: trailing-whitespace
|
Loading…
Add table
Add a link
Reference in a new issue