jjuliano/markdown-ui

View on GitHub
components/collections/markdown-ui-menu/lib/markdown-ui-menu.rb

Summary

Maintainability
A
0 mins
Test Coverage

The name of this source file (markdown-ui-menu.rb) should use snake_case.
Open

['menu/**/*.rb'].each do |dir|

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

Line is too long. [82/80]
Open

  Dir[File.join(File.dirname(__FILE__), dir)].sort.each { |f| require_relative f }

There are no issues that match your filters.

Category
Status