Sha256: 8a129579f9ea208e44597e171686334d58dbad64f89b32505e64ec9098aa0268

Contents?: true

Size: 659 Bytes

Versions: 74

Compression:

Stored size: 659 Bytes

Contents

module Standard::Custom
  class Plugin < LintRoller::Plugin
    def initialize(config)
      @config = config
    end

    def about
      LintRoller::About.new(
        name: "standard-custom",
        version: VERSION,
        homepage: "https://github.com/testdouble/standard-custom",
        description: "Custom rules defined by the Standard Ruby project as part of the default ruleset"
      )
    end

    def supported?(context)
      true
    end

    def rules(context)
      LintRoller::Rules.new(
        type: :path,
        config_format: :rubocop,
        value: Pathname.new(__dir__).join("../../../config/base.yml")
      )
    end
  end
end

Version data entries

74 entries across 74 versions & 3 rubygems

Version Path
harbr-2.8.1 vendor/bundle/ruby/3.2.0/gems/standard-custom-1.0.2/lib/standard/custom/plugin.rb
harbr-0.2.10 vendor/bundle/ruby/3.2.0/gems/standard-custom-1.0.2/lib/standard/custom/plugin.rb
harbr-0.2.9 vendor/bundle/ruby/3.2.0/gems/standard-custom-1.0.2/lib/standard/custom/plugin.rb
harbr-0.2.8 vendor/bundle/ruby/3.2.0/gems/standard-custom-1.0.2/lib/standard/custom/plugin.rb
harbr-0.2.7 vendor/bundle/ruby/3.2.0/gems/standard-custom-1.0.2/lib/standard/custom/plugin.rb
harbr-0.2.6 vendor/bundle/ruby/3.2.0/gems/standard-custom-1.0.2/lib/standard/custom/plugin.rb
harbr-0.2.5 vendor/bundle/ruby/3.2.0/gems/standard-custom-1.0.2/lib/standard/custom/plugin.rb
harbr-0.2.4 vendor/bundle/ruby/3.2.0/gems/standard-custom-1.0.2/lib/standard/custom/plugin.rb
harbr-0.2.3 vendor/bundle/ruby/3.2.0/gems/standard-custom-1.0.2/lib/standard/custom/plugin.rb
harbr-0.2.2 vendor/bundle/ruby/3.2.0/gems/standard-custom-1.0.2/lib/standard/custom/plugin.rb
harbr-0.2.1 vendor/bundle/ruby/3.2.0/gems/standard-custom-1.0.2/lib/standard/custom/plugin.rb
harbr-0.2.0 vendor/bundle/ruby/3.2.0/gems/standard-custom-1.0.2/lib/standard/custom/plugin.rb
harbr-0.1.99 vendor/bundle/ruby/3.2.0/gems/standard-custom-1.0.2/lib/standard/custom/plugin.rb
harbr-0.1.98 vendor/bundle/ruby/3.2.0/gems/standard-custom-1.0.2/lib/standard/custom/plugin.rb
harbr-0.1.97 vendor/bundle/ruby/3.2.0/gems/standard-custom-1.0.2/lib/standard/custom/plugin.rb
harbr-0.1.96 vendor/bundle/ruby/3.2.0/gems/standard-custom-1.0.2/lib/standard/custom/plugin.rb
harbr-0.1.95 vendor/bundle/ruby/3.2.0/gems/standard-custom-1.0.2/lib/standard/custom/plugin.rb
harbr-0.1.94 vendor/bundle/ruby/3.2.0/gems/standard-custom-1.0.2/lib/standard/custom/plugin.rb
harbr-0.1.93 vendor/bundle/ruby/3.2.0/gems/standard-custom-1.0.2/lib/standard/custom/plugin.rb
harbr-0.1.91 vendor/bundle/ruby/3.2.0/gems/standard-custom-1.0.2/lib/standard/custom/plugin.rb