-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Remove SafeMode from Count and Detect #72
Conversation
e276ab4
to
ddfe1e0
Compare
Yeah, I'd like to investigate whether |
ddfe1e0
to
2b1bd80
Compare
I think there is an argument for removing it based on having |
Should I update the |
Yes. |
2b1bd80
to
1308a5a
Compare
@bbatsov what are your thoughts on removing the |
1308a5a
to
285a4e6
Compare
That sounds like a good approach to me. Let's make it happen! |
Cool, I'll update this code to remove the |
285a4e6
to
b03457c
Compare
@koic this is ready for review again. |
b03457c
to
93971d9
Compare
This is in response to #69. As noted in the issue,
SafeMode
has outlived its usefulness. Making use of being disabled by default or setting this as unsafe for auto-correction make more sense.I have left in the functionality that automatically disables these cops when the
Rails
cops are enabled. I'm not sure if that is functionality that we would like to maintain or not. These are the only 2 cops that function this way. If we remove the functionality, we can remove theSafeMode
module from the core project.