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

Confused on how to use this in combination with nvim-lsp-ts-utils #217

Answered by sQVe
sQVe asked this question in Q&A
Discussion options

You must be logged in to vote

I've now setup null-ls to handle linting and formatting and it's working great. Great API and much easier to setup and extend compared to efm.

I'm also running 👇 on the on_attach for tsserver which enables the eslint actions:

ts_utils.setup({
    enable_import_on_completion = true,
    eslint_bin = "eslint_d",
    filter_out_diagnostics_by_code = {}
})
ts_utils.setup_client(client)

It works but I dislike that there's a overlap here. I would prefer it if I would be able to just add eslint action handling straight to null-ls instead.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jose-elias-alvarez
Comment options

@sQVe
Comment options

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