Neovim: Disable eslint linting

Eslint is still being run when formatting though.
This commit is contained in:
Tony Grosinger 2024-06-06 13:41:51 -07:00
parent 822412e259
commit 5abd8ef2dc

View File

@ -24,8 +24,11 @@ return {
-- text = { "vale" }
-- }
lint.linters_by_ft['markdown'] = { 'markdownlint' }
lint.linters_by_ft['typescript'] = { 'eslint' }
lint.linters_by_ft['javascript'] = { 'eslint' }
-- JS and TS already run eslint when formatting with conform.nvim.
-- Additionally, this causes issues in JS or TS projects that do not have an eslint config file.
-- lint.linters_by_ft['typescript'] = { 'eslint' }
-- lint.linters_by_ft['javascript'] = { 'eslint' }
-- You can disable the default linters by setting their filetypes to nil:
-- lint.linters_by_ft['clojure'] = nil