lines should not be more than 80 characters. lint_length_linter; Use <-, not =, for assignment.assignment_linter

2.8k Views Asked by At

I use R in vscode, it throw many notes with blue wavy underlines, such as 'lines should not be more than 80 characters. lint_length_linte', 'Use <-, not =, for assignment.assignment_linter'.

Creating a '.lintr ' file in the project work for this problem, see details. And turning off the option Lsp:Diagnostics also solve it. But I want to know how to set global settings working for all R projects through modifing certain configure files( like r.json, .Rprofile and so on). I tried but failed.

some of the problems detected by lintr enter image description here

1

There are 1 best solutions below

0
On BEST ANSWER

Putting a global lintr config file at ~/.lintr will effect globally.