diff options
author | Yigit Sever | 2021-11-04 12:26:18 +0300 |
---|---|---|
committer | Yigit Sever | 2021-11-04 12:26:18 +0300 |
commit | fcb2237c01bcd2b7982bb844cea4cf9447f20d03 (patch) | |
tree | 604be5c6d09687e234e540a6279fe2dea98731e7 /.config/efm-langserver | |
parent | fdd8868e8c6199c0c5ef05b52870f218fb139598 (diff) | |
download | dotfiles-fcb2237c01bcd2b7982bb844cea4cf9447f20d03.tar.gz dotfiles-fcb2237c01bcd2b7982bb844cea4cf9447f20d03.tar.bz2 dotfiles-fcb2237c01bcd2b7982bb844cea4cf9447f20d03.zip |
efm: Tracking
Diffstat (limited to '.config/efm-langserver')
-rw-r--r-- | .config/efm-langserver/config.yaml | 19 |
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 @@ | |||
1 | version: 2 | ||
2 | root-markers: | ||
3 | - .git/ | ||
4 | lint-debounce: 1s | ||
5 | tools: | ||
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 | ||
16 | languages: | ||
17 | sh: | ||
18 | - <<: *sh-shellcheck | ||
19 | - <<: *sh-shfmt | ||