You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The file is still diagnosed, implying that the exclusions is not respected.
This is caused by that we lint a temp file with potential unsaved edits rather the original file in the workspace. The exclusions do not apply to the temp file path.
Activity
randy3k commentedon Jun 23, 2020
I haven’t tested it. In normal circumstances, would
linter::lint(file)runs if the file is excluded? I asked it because we runlintexplicitly.renkun-ken commentedon Jun 23, 2020
lintr::lint(file)omits no result if the file is excluded in.lintr.franzbischoff commentedon Jan 17, 2021
Suggestion, while the bug is not fixed:
write this inside the file