feat: improve scripts setup (lint, format, refactor)
This commit is contained in:
@@ -12,3 +12,13 @@ repos:
|
||||
language: system
|
||||
files: \.nix$
|
||||
pass_filenames: false
|
||||
- repo: https://github.com/koalaman/shellcheck-precommit
|
||||
rev: v0.11.0
|
||||
hooks:
|
||||
- id: shellcheck
|
||||
args: [-x, -P, scripts]
|
||||
- repo: https://github.com/scop/pre-commit-shfmt
|
||||
rev: v3.12.0-2
|
||||
hooks:
|
||||
- id: shfmt
|
||||
args: [-d]
|
||||
|
||||
Reference in New Issue
Block a user