From 2582c34e2c4ccbdecf70a85f12f42be693a35e97 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 4 Dec 2023 23:31:23 +0100 Subject: Update linters --- fnl/plugins/editor/nvim-lint.fnl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'fnl') 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]} -- cgit v1.2.3-70-g09d2