23 lines
423 B
YAML
23 lines
423 B
YAML
|
version: 2
|
||
|
root-makers:
|
||
|
- .git/
|
||
|
lint-debounce: 1s
|
||
|
|
||
|
tools:
|
||
|
sh-shellcheck: &sh-shellcheck
|
||
|
lint-command: 'shellcheck -f gcc -x'
|
||
|
lint-source: 'shellcheck'
|
||
|
lint-formats:
|
||
|
- '%f:%l:%c: %trror: %m'
|
||
|
- '%f:%l:%c: %tarning: %m'
|
||
|
- '%f:%l:%c: %tote: %m'
|
||
|
|
||
|
sh-shfmt: &sh-shfmt
|
||
|
format-command: 'shfmt -ci -s -bn'
|
||
|
format-stdin: true
|
||
|
|
||
|
languages:
|
||
|
sh:
|
||
|
- <<: *sh-shellcheck
|
||
|
- <<: *sh-shfmt
|