blob: 77ee931ca973662a3fe004c22faef654ae4d3fc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
version: 2
root-markers:
- .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 -i 4 -sr'
format-stdin: true
tex-fmt-formatter: &tex-fmt-formatter
format-command: 'tex-fmt --tabsize 4 --stdin'
format-stdin: true
languages:
sh:
- <<: *sh-shellcheck
- <<: *sh-shfmt
tex:
- <<: *tex-fmt-formatter
|