mfussenegger / nvim-lint

An asynchronous linter plugin for Neovim complementary to the built-in Language Server Protocol support.
GNU General Public License v3.0
1.76k stars 191 forks source link

How to customize a linter #578

Closed santoso-wijaya closed 1 month ago

santoso-wijaya commented 1 month ago

For instance, in a LazyVim plugins/ folder:

return {
  {
    "mfussenegger/nvim-lint",
    opts = {
      linters = {
        markdownlint = {
          -- What attributes are supported here??
        },
      },
    },
  },
}

I wonder what attributes are supported for each of these specific linter options? Is that documented somewhere?

mfussenegger commented 1 month ago

See https://github.com/mfussenegger/nvim-lint?tab=readme-ov-file#customize-built-in-linters To learn what arguments a particular linter supports you'll need to refer to its upstream documentation