rlanguageserver: Disable specific linter and avoid line-breaking

Viewed 53

I am using emacs and lsp-mode. To edit .R files, I use rlanguageserver.

This works fine. However, I would like to disable some rules. For example, I do want to decide on my variable name format, i.e. disable the "variable name should be snake_case" message.

I placed a .lintr file in my home directory, with this content:

linters: with_defaults(snake_case_linter = NULL)

but is has no effect. Why?

Also, when I re-indent a region, I would like to just re-indent without adding or removing line breaks, i.e. I'd like to chose the line breaks manually. How can I achieve this?

0 Answers
Related