sds/haml-lint

View on GitHub
lib/haml_lint/options.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method add_linter_options has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def add_linter_options(parser) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength
      parser.on('--auto-gen-config', 'Generate a configuration file acting as a TODO list') do
        @options[:auto_gen_config] = true
      end

Severity: Minor
Found in lib/haml_lint/options.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status