-
Notifications
You must be signed in to change notification settings - Fork 184
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
Implemented an object_name_linter #194
Comments
Florent, I think you have since worked around the issues you were having and can now contribute code directly. Could you open a PR for this contribution? |
If you are referring to my github.com issues, this is a no, since the access is blocked from my workplace. |
* features of the linter described at r-lib#194 * default_linters() changed accordingly (enforce lowerCamelCase) * refactored make_object_linter() since it returned too many objects that were out of the scope, and failed to return some that were
Fixed in #214 |
Hi,
I have written a new linter, called
object_name_linter
, which includes the features of the existing namelinters (camel_case_linter, snake_case_linter and mutiple_dots_linter) and adds new ones.
Features of
object_name_linter
:camel_case_linter
).those that contain mutiple dots such as
as.data.frame.data.frame
), and this without having to loador require any packages.
valid "snake_case".
%in%
are not subjected to a style check.This work partially derives from discussions at:
#108
#182
#183
#191
In my opinion,
object_name_linter
could effectively replace the existing name linters.Best,
Florent
PS/ Not having the ability to contribute code directly through Github, I am attaching my code and unit tests here: object_name_linter.zip
The text was updated successfully, but these errors were encountered: