Skip to content

Fix(lintr): make user-defined lintr-linters can be correctly passed to the R process.#1946

Open
milanglacier wants to merge 1 commit intoflycheck:masterfrom
milanglacier:master
Open

Fix(lintr): make user-defined lintr-linters can be correctly passed to the R process.#1946
milanglacier wants to merge 1 commit intoflycheck:masterfrom
milanglacier:master

Conversation

@milanglacier
Copy link

if user directly calls

(setq flycheck-lintr-linters
      "linters = with_defaults(line_length_linter=line_length_linter(200),commented_code_linter = NULL)")

with something like this in their config

in deed this will have no effect.

Explicitly specifying"linters=" flycheck-lintr-linters makes things changed

@bbatsov
Copy link
Contributor

bbatsov commented Feb 4, 2024

I'm fine with the proposed change, but it needs a changelog entry.

@bbatsov
Copy link
Contributor

bbatsov commented Feb 24, 2024

@milanglacier Friendly ping :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants