def for_linter(linter)
      linter_name =
        case linter
        when Class
          linter.name.split('::').last
        when HamlLint::Linter
          linter.name
        end

      @hash['linters'].fetch(linter_name, {}).dup.freeze
    end
def for_linter(linter)
      linter_name =
        case linter
        when Class
          linter.name.split('::').last
        when HamlLint::Linter
          linter.name
        end

      @hash['linters'].fetch(linter_name, {}).dup.freeze
    end
Compares this configuration with another.

 @param other [HamlLint::Configuration]
 @return [true,false] whether the given configuration is equivalent
 Returns a non-modifiable configuration for the specified linter.

 @param linter [HamlLint::Linter,Class]