Sha256: 94c4ee23ab278369844dd6f365330cf324c8d781c4b8cb35f499906739ed2076
Contents?: true
Size: 379 Bytes
Versions: 4
Compression:
Stored size: 379 Bytes
Contents
require "govuk/lint" require "govuk/lint/diff" require "govuk/lint/config_file" require "rubocop" module Govuk module Lint class CLI < RuboCop::CLI def run(args = ARGV) args += [ "--config", ConfigFile.new.config_file_path, ] Diff.enable!(args) if args.include? "--diff" super(args) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
govuk-lint-3.11.2 | lib/govuk/lint/cli.rb |
govuk-lint-3.11.1 | lib/govuk/lint/cli.rb |
govuk-lint-3.11.0 | lib/govuk/lint/cli.rb |
govuk-lint-3.10.0 | lib/govuk/lint/cli.rb |