summaryrefslogtreecommitdiff
path: root/fnl/config/lsp/mason-null-ls.fnl
blob: e739b9bacce9e8f900f312a316e63ff0416bff05 (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
25
26
;; Ensure that tools needed for null-ls are installed.
(module config.mason-null-ls {autoload {:util :config.util}})

(def- opts {:ensure_installed [:flake8
                               :golangci-lint
                               :cpplint
                               :gitlint
                               :jsonlint
                               :yamllint
                               :black
                               :fnlfmt
                               :fourmolu
                               :gofmt
                               :goimports
                               :prettier
                               :rustfmt
                               :stylua
                               :shellcheck
                               :sqlfluff
                               :hadolint
                               :terraform-fmt
                               :shfmt]
            :auto_update true
            :automatic_installation true})

(util.setup :mason-null-ls opts)