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
Is your feature request related to a problem? Please describe.
A very rare but non-zero number of times, code has been accidentally placed outside of the class or module corresponding to the file that it's in, i.e.
# app/services/example_service.rbclassExampleService...
endputs'Whoops. This shouldn'tbehere.'
Describe the solution you'd like
Check for code in files with classes or modules named after them, so ignore things like config initializers, that isn't in said class or module and report it.
Describe alternatives you've considered
Convoluted regular expressions that would probably miss stuff. For example, something like grep -r '^[A-Z]' app lib.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
A very rare but non-zero number of times, code has been accidentally placed outside of the class or module corresponding to the file that it's in, i.e.
Describe the solution you'd like
Check for code in files with classes or modules named after them, so ignore things like config initializers, that isn't in said class or module and report it.
Describe alternatives you've considered
Convoluted regular expressions that would probably miss stuff. For example, something like
grep -r '^[A-Z]' app lib
.The text was updated successfully, but these errors were encountered: