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 default behavior of Style/TrivialAccessors is quite a bit more strict than the style guide rule. I suggest defaulting ExactNameMatch to true to improve the rule's style guide congruency.
The text was updated successfully, but these errors were encountered:
marxarelli
added a commit
to wikimedia/mediawiki-selenium
that referenced
this issue
Feb 23, 2015
The `Style/TrivialAccessors` rule matches method names which are
different from their exposed instance variable names, effectively
disallowing some necessary method implementations. Configuring the rule
to use exact matching makes it more congruent with the style guide rule.
An upstream issue has been opened to make this the default.
rubocop/rubocop#1673
Change-Id: I90dfd2114e9c47e2045bfa131db3654e0bc3d783
The default behavior of Style/TrivialAccessors is quite a bit more strict than the style guide rule. I suggest defaulting ExactNameMatch to true to improve the rule's style guide congruency.
On the other hand the current default reveals "hidden" accessors, which is not a bad thing IMO.
The default behavior of
Style/TrivialAccessors
is quite a bit more strict than the style guide rule. I suggest defaultingExactNameMatch
totrue
to improve the rule's style guide congruency.The text was updated successfully, but these errors were encountered: