Use `eslint_d` for both javascript and typescript

This commit is contained in:
Aaron Weinberger 2024-09-06 16:47:19 -04:00
parent 8d01e42e89
commit 042b34cebf
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

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