Sha256: ef636a9b83dd516d90b3de4ca3b5279095ef9bc0a74a7c1086814fbdfe4ed6ee
Contents?: true
Size: 717 Bytes
Versions: 2
Compression:
Stored size: 717 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) require_relative "../cop/block_single_line_braces" LintRoller::Rules.new( type: :path, config_format: :rubocop, value: Pathname.new(__dir__).join("../../../config/base.yml") ) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
standard-custom-1.0.1 | lib/standard/custom/plugin.rb |
standard-custom-1.0.0 | lib/standard/custom/plugin.rb |