Module: Rubocop::Stylecheck::Cli
- Defined in:
- lib/rubocop/stylecheck/cli.rb
Class Method Summary collapse
Class Method Details
.options ⇒ Object
5 6 7 8 9 |
# File 'lib/rubocop/stylecheck/cli.rb', line 5 def = ["--fail-level", "refactor"] += ["--rails"] if defined?(Rails) end |
.options_with_auto_correct ⇒ Object
11 12 13 |
# File 'lib/rubocop/stylecheck/cli.rb', line 11 def + ["--auto-correct"] end |
.options_with_cop ⇒ Object
15 16 17 |
# File 'lib/rubocop/stylecheck/cli.rb', line 15 def + ["--display-cop-names"] end |