customization

This commit is contained in:
Subham Shrestha 2024-09-17 10:54:44 +05:45 committed by GitHub
parent 7201dc4801
commit 8f12b923f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 27 additions and 30 deletions

View file

@ -7,6 +7,10 @@ return {
local lint = require 'lint'
lint.linters_by_ft = {
markdown = { 'markdownlint' },
javascript = { 'eslint_d' },
typescript = { 'eslint_d' },
javascriptreact = { 'eslint_d' },
typescriptreact = { 'eslint_d' },
}
-- To allow other plugins to add linters to require('lint').linters_by_ft,