lib/motion-blitz.rb
The name of this source file (motion-blitz.rb
) should use snake_case. Open
Open
unless defined?(Motion::Project::Config)
- Read upRead up
- Exclude checks
This cop makes sure that Ruby source files have snake_case names. Ruby scripts (i.e. source files with a shebang in the first line) are ignored.
Example:
# bad
lib/layoutManager.rb
anything/usingCamelCase
# good
lib/layout_manager.rb
anything/using_snake_case.rake