lib/govuk/lint/cli.rb in govuk-lint-0.5.0 vs lib/govuk/lint/cli.rb in govuk-lint-0.5.1
- old
+ new
@@ -7,10 +7,14 @@
module Govuk
module Lint
class CLI < RuboCop::CLI
def run(args = ARGV)
args += ["--config",
- ConfigFile.new.config_file_path]
+ ConfigFile.new.config_file_path,
+ "--display-cop-names",
+ "--extra-details",
+ "--display-style-guide",
+ ]
Diff.enable!(args) if args.include? "--diff"
super(args)
end