Closed C83 closed 6 years ago
gem 'rubocop', '~> 0.57.2', require: false
bundle install
gem "relaxed-rubocop"
.rubocop.yml
DisplayStyleGuide: true
DisplayCopNames: true
AllCops: Exclude
Style/FrozenStringLiteralComment: Enabled: false
Metrics/BlockLength: Exclude:
rubocop -a
gem 'rubocop', '~> 0.57.2', require: false
to fix the version of rubocop andbundle install
gem "relaxed-rubocop"
and inherit in.rubocop.yml
fileDisplayStyleGuide: true
andDisplayCopNames: true
show a link and the name of cop sourceAllCops: Exclude
to exclude few files of the verificationStyle/FrozenStringLiteralComment: Enabled: false
: blank line between comment and code is optionnalMetrics/BlockLength: Exclude:
The length of a line is 80. The rule is inactive with few directoryrubocop -a
correct all "offenses". We can see the kind of cop and the rule's URL