Sha256: e1ba5ee16556d1ff7caf013dda2f058ad1df4d95d6f0897aaa9dbeddb3190bd1

Contents?: true

Size: 310 Bytes

Versions: 1

Compression:

Stored size: 310 Bytes

Contents

require 'yaml'
require_relative 'base'

module EatYourVegetables
  module Tools
    class Rubocop < Base
      protected

      def config_file
        '.rubocop.yml'
      end

      def excluded_files(content)
        yaml = YAML.load(content)

        yaml['AllCops']['Exclude']
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eat_your_vegetables-0.1.1 lib/eat_your_vegetables/tools/rubocop.rb