Sha256: 968d964cd48f130d39b55f7e83699b5fd5f5e70f7dacde88410a1d963af84465

Contents?: true

Size: 393 Bytes

Versions: 2

Compression:

Stored size: 393 Bytes

Contents

require "rubocop-stylecheck"

require "alterans/stylecheck/version"

module Alterans
  module Stylecheck
    class << self
      def root
        Gem::Specification.find_by_name("alterans-stylecheck").gem_dir
      end

      def template_path
        File.join(root, "template", "rubocop.yml")
      end
    end
  end
end

Rubocop::Stylecheck.config_path = Alterans::Stylecheck.template_path

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
alterans-stylecheck-0.1.1 lib/alterans/stylecheck.rb
alterans-stylecheck-0.1.0 lib/alterans/stylecheck.rb