lib/lint_trappings/arguments_parser.rb
Method add_info_options
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def add_info_options(parser)
parser.on('--show-linters',
'Display available linters and whether or not they are enabled') do
@options[:command] = :display_linters
end
Method add_file_options
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def add_file_options(parser)
parser.on('-c', '--config config-file', String,
'Specify which configuration file you want to use') do |conf_file|
@options[:config_file] = conf_file
end