Set up better linting and quickfix
This commit is contained in:
parent
a4addb63da
commit
17450661d3
2 changed files with 38 additions and 5 deletions
|
|
@ -7,11 +7,6 @@ return {
|
|||
local lint = require 'lint'
|
||||
lint.linters_by_ft = {
|
||||
markdown = { 'markdownlint' },
|
||||
javascript = { 'eslint' },
|
||||
typescript = { 'eslint' },
|
||||
javascriptreact = { 'eslint' },
|
||||
typescriptreact = { 'eslint' },
|
||||
rust = { 'clippy' },
|
||||
}
|
||||
|
||||
-- To allow other plugins to add linters to require('lint').linters_by_ft,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue