diff --git a/.rubocop.yml b/.rubocop.yml index 59e8e46..87a1614 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,3 +1,12 @@ +Layout/AccessModifierIndentation: + EnforcedStyle: outdent + +Layout/DotPosition: + EnforcedStyle: trailing + +Layout/SpaceInsideHashLiteralBraces: + EnforcedStyle: no_space + Lint/HandleExceptions: Enabled: false @@ -22,9 +31,6 @@ Metrics/ParameterLists: Metrics/AbcSize: Enabled: false -Style/AccessModifierIndentation: - EnforcedStyle: outdent - Style/CollectionMethods: PreferredMethods: map: 'collect' @@ -35,9 +41,6 @@ Style/CollectionMethods: Style/Documentation: Enabled: false -Style/DotPosition: - EnforcedStyle: trailing - Style/DoubleNegation: Enabled: false @@ -55,6 +58,3 @@ Style/Lambda: Style/RaiseArgs: EnforcedStyle: compact - -Style/SpaceInsideHashLiteralBraces: - EnforcedStyle: no_space diff --git a/Rakefile b/Rakefile index b1f9331..e4daa64 100644 --- a/Rakefile +++ b/Rakefile @@ -10,7 +10,7 @@ begin RuboCop::RakeTask.new rescue LoadError task :rubocop do - $stderr.puts 'RuboCop is disabled' + warn 'RuboCop is disabled' end end