summaryrefslogtreecommitdiff
path: root/fnl/plugins
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-12-04 23:31:23 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-12-04 23:31:23 +0100
commit2582c34e2c4ccbdecf70a85f12f42be693a35e97 (patch)
treeb69ab6784562e03636c582561b6908f44f37651d /fnl/plugins
parente8fe6a1fe896247e21d46b15b0896d3cac539760 (diff)
Update linters
Diffstat (limited to 'fnl/plugins')
-rw-r--r--fnl/plugins/editor/nvim-lint.fnl16
1 files changed, 8 insertions, 8 deletions
diff --git a/fnl/plugins/editor/nvim-lint.fnl b/fnl/plugins/editor/nvim-lint.fnl
index dc33960..a5c1fca 100644
--- a/fnl/plugins/editor/nvim-lint.fnl
+++ b/fnl/plugins/editor/nvim-lint.fnl
@@ -10,17 +10,17 @@
(fn config []
(let [lint (require :lint)]
- (set lint.linters_by_ft {:zsh [:zsh]
- :* [:codespell :write_good]
+ (set lint.linters_by_ft {:* [:codespell :write_good]
+ :dockerfile [:hadolint]
:fennel [:fennel]
- :yaml [:yamllint]
- :python [:ruff]
- :lua [:selene]
- :gitcommit [:gitlint]
- :docker [:hadolint]
+ :gitcommit [:gitlint :codespell]
:haskell [:hlint]
:json [:jsonlint]
+ :lua [:selene]
+ :python [:ruff]
:sh [:shellcheck]
- :sql [:sqlfluff]})))
+ :sql [:sqlfluff]
+ :yaml [:yamllint]
+ :zsh [:zsh]})))
{1 :mfussenegger/nvim-lint : init : config :event [:BufReadPost :BufNewFile]}