summaryrefslogtreecommitdiffstats
path: root/.config/efm-langserver/config.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.config/efm-langserver/config.yaml')
-rw-r--r--.config/efm-langserver/config.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.config/efm-langserver/config.yaml b/.config/efm-langserver/config.yaml
new file mode 100644
index 0000000..40031b0
--- /dev/null
+++ b/.config/efm-langserver/config.yaml
@@ -0,0 +1,19 @@
1version: 2
2root-markers:
3 - .git/
4lint-debounce: 1s
5tools:
6 sh-shellcheck: &sh-shellcheck
7 lint-command: 'shellcheck -f gcc -x'
8 lint-source: 'shellcheck'
9 lint-formats:
10 - '%f:%l:%c: %trror: %m'
11 - '%f:%l:%c: %tarning: %m'
12 - '%f:%l:%c: %tote: %m'
13 sh-shfmt: &sh-shfmt
14 format-command: 'shfmt -ci -s -bn -i 4 -sr'
15 format-stdin: true
16languages:
17 sh:
18 - <<: *sh-shellcheck
19 - <<: *sh-shfmt