-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Define exclusions #7
Comments
First - sorry that the package is generating noise in your use case, and thank you for reporting it. Even beyond the ability to disable individual lints, it's probably a bit overly sensitive to assume that all characters should be lowercase. To start, I think the linter should be relaxed to only enforce that the first character is upper-case. Then to address your suggestion, I also think there should be some mechanism of disabling individual lints for roxygen tags. I'll have to do a bit of brainstorming to come up with a syntax that is both convenient from a developer perspective, while avoiding injecting any content into the Rd files. |
Just following up to say that I have a work-in-progress kicked off in the Progress so farThis really opened a can of worms, but I think the project will be better for it. Just to briefly step through the series of events:
Overall, this is probably a more comprehensive approach, but it is a big change that adds a lot of moving pieces to the package which makes me a bit nervous.
|
And a couple new ideas.
|
Thanks for considering this feature! I really like the idea a RdMacro. The |
It would be nice to be able to define exclusions to specific instances of lints, similar to lintr. For example, some of my documentation titles or parameter descriptions include proper nouns, or acronyms. This causes the sentence case linter to flag, because it is expecting all lower case after the first word. The result is that I end up getting a lot of false flags, which makes it hard to find the true issues I want to fix.
My particular use case is here: https://github.com/wjakethompson/measr/tree/doc-cleanup, which can reproduce the FALSE flags I'm describing.
The text was updated successfully, but these errors were encountered: