Neovim: Disable eslint linting
Eslint is still being run when formatting though.
This commit is contained in:
parent
822412e259
commit
5abd8ef2dc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user