Sha256: be5b09a4f5911798f4893e6030b57ee920f4c7fc5fab320b134617dcd01abc9b

Contents?: true

Size: 426 Bytes

Versions: 4

Compression:

Stored size: 426 Bytes

Contents

require "rubocop/markdown/version"
require "pathname"

module RuboCop
  # Plugin to run Rubocop against Markdown files
  module Markdown
    PROJECT_ROOT   = Pathname.new(__dir__).parent.parent.expand_path.freeze
    CONFIG_DEFAULT = PROJECT_ROOT.join("config", "default.yml").freeze

    require_relative "./markdown/preprocess"
    require_relative "./markdown/rubocop_ext" if defined?(::RuboCop::ProcessedSource)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rubocop-md-0.2.0 lib/rubocop/markdown.rb
rubocop-md-0.1.1 lib/rubocop/markdown.rb
rubocop-md-0.1.0 lib/rubocop/markdown.rb
rubocop-md-0.1.0.pre lib/rubocop/markdown.rb