Skip to content

How do I configure which languages eslint is used for? #1303

Answered by williamboman
NullVoxPopuli asked this question in Q&A
Discussion options

You must be logged in to vote

I believe those settings are VSCode-specific. If you don't want to spawn the eslint language server for certain filetypes you can override the default filetypes when setting up the server:

require("lspconfig").eslint.setup {
  filetypes = { "javascript" }
}

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@williamboman
Comment options

Answer selected by NullVoxPopuli
@NullVoxPopuli
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants