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
Fixesrubocop#9771.
This PR changes `AllowDSLWriters` to true by default because
it's still a trivial accessor and most people are unlikely to be
creating DSLs.
By this will prevent a false positive for `Style/TrivialAccessors`
when defining a method that is not a DSL writer.
Fixes#9771.
This PR changes `AllowDSLWriters` to true by default because
it's still a trivial accessor and most people are unlikely to be
creating DSLs.
By this will prevent a false positive for `Style/TrivialAccessors`
when defining a method that is not a DSL writer.
Expected behavior
no action
Actual behavior
Code:
is suggested to be replaced with
attr_wrirer
, but it's false suggestion (attention to=
sign indef
)RuboCop version
The text was updated successfully, but these errors were encountered: