Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

eslint_d not formatting quotes (but formatting indentation) #930

Answered by fitrh
RolandWarburton asked this question in Q&A
Discussion options

You must be logged in to vote

Where did you get the formatting key from?

local formatting = { -- ??
  format.eslint_d
}

null_ls.setup({
  debug = true,
  sources = sources,
  formatting = formatting -- ??
})

As far as I know, we use sources key to register our sources

local sources = {
  diagnostics.eslint_d,
  format.eslint_d
}

null_ls.setup({
  debug = true,
  sources = sources,
})

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@fitrh
Comment options

@RolandWarburton
Comment options

@RolandWarburton
Comment options

@RolandWarburton
Comment options

Answer selected by RolandWarburton
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