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