Sha256: bbd6647212f364ac68f8767a0d0bffbbab00ca4eeb029fb883669ad632529008
Contents?: true
Size: 768 Bytes
Versions: 4
Compression:
Stored size: 768 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true # https://gist.github.com/skanev/9d4bec97d5a6825eaaf6 require "rfix/version" require "cli/ui" require "rfix/extensions/extensions" require "rfix/extensions/offense" require "rfix/rfix" module Rfix module Ext; end extend self end RuboCop::Options.prepend(Rfix::Ext::Options) RuboCop::Runner.prepend(Rfix::Ext::Runner) RuboCop::CommentConfig.prepend(Rfix::Ext::CommentConfig) RuboCop::Cop::Offense.prepend(Rfix::Ext::Offense) # TODO: Handle cases where color can't be resolved by CLI::UI RuboCop::Formatter::SimpleTextFormatter::COLOR_FOR_SEVERITY.each do |severity, color| id = RuboCop::Cop::Severity::CODE_TABLE.invert.fetch(severity) CLI::UI::Glyph.new(id.to_s, 0x25cf, CLI::UI.resolve_color(color)) end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rfix-1.0.15.pre.116 | lib/rfix.rb |
rfix-1.0.15 | lib/rfix.rb |
rfix-1.0.8.pre.109 | lib/rfix.rb |
rfix-1.0.8.pre.108 | lib/rfix.rb |