Closed IndrajeetPatil closed 2 years ago
Works, so .lintr
in every repo in the organization should be deleted.
The lintr files are also used by vscode, that's why I primarily added them
What do you mean, they are "used by" VS Code? Does VS Code lint every time you make any change to the source code?
I'd prefer if we rely on GHA for this so that everyone is on the same page. Additionally, GHA uses the latest lintr from GitHub, so we are always up-to-date.
What do you mean, they are "used by" VS Code? Does VS Code lint every time you make any change to the source code?
Yes, it's "live" linting. If you open any file, linting is applied, based on the .lintr
file.
(only first seconds, and from 0:42 is interesting here)
If you don't have a .lintr
file, the defaults are used. But maybe I can also define defaults globally, not workspace specific.
Closing this since it is already implemented.
@strengejacke Okay, I won't delete the .lintr
files, but make sure to check in on this action once in a while to see which defaults we are choosing and syncing the local file with those settings.
Instead of including
.lintr
in every repo in the organization and keeping them all in sync with each other.