mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
lint:pre-commit shfmt defaults
This commit is contained in:
@@ -14,9 +14,3 @@ repos:
|
||||
hooks:
|
||||
- id: shfmt
|
||||
language: golang
|
||||
args:
|
||||
- -l # list files whose formatting differs from shfmt's
|
||||
- -d # error with a diff when the formatting differs
|
||||
- -i # indentation
|
||||
- '2' # 2 spaces
|
||||
- -ci # switch cases will be indented
|
||||
|
||||
Reference in New Issue
Block a user