mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
pre-commit: file-contents-sorter ensure each line is unique
https://github.com/pre-commit/pre-commit-hooks#file-contents-sorter
This commit is contained in:
@@ -23,6 +23,7 @@ repos:
|
||||
- id: detect-private-key
|
||||
- id: end-of-file-fixer
|
||||
- id: file-contents-sorter
|
||||
args: [--unique]
|
||||
files: ^codespell\.txt$
|
||||
- id: fix-byte-order-marker
|
||||
- id: mixed-line-ending
|
||||
|
||||
Reference in New Issue
Block a user