Skip to content

Conversation

@MichaelChirico
Copy link
Collaborator

Closes #500

I think the issue is that the old one relies on using object_name_linter_old, which appears obsolete.

I also noticed that we shouldn't have found this issue yet in the first place, since lintr:::is_base_function(".onLoad") is TRUE. Again the issue is that we strip_names the variables found in the file. So if we apply strip_names to the base_functions, that should put the comparison on equal footing.

AshesITR
AshesITR previously approved these changes Nov 30, 2020
Copy link
Collaborator

@AshesITR AshesITR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MichaelChirico MichaelChirico merged commit 758ee6b into master Dec 2, 2020
@MichaelChirico MichaelChirico deleted the ns-hooks-redux branch December 2, 2020 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

object_name_linter() complains about ns-hooks (e.g. .onLoad)

3 participants