Permalink
Browse files

update RuboCop config

  • Loading branch information...
e2 committed Aug 6, 2016
1 parent 7c6a077 commit ed7303c2795feed9dca157d79f9b93ecff877352
Showing with 35 additions and 5 deletions.
  1. +1 −4 .rubocop.yml
  2. +34 −1 .rubocop_todo.yml
View
@@ -2,12 +2,9 @@ inherit_from:
- vendor/hound/config/style_guides/ruby.yml
- .rubocop_todo.yml
-# Rails cops
-AllCops:
- RunRailsCops: true
-
# Files you want to exclude
AllCops:
+ TargetRubyVersion: 2.2
Exclude:
- db/schema.rb
- tmp/aruba/Guardfile
View
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2016-05-19 21:55:11 +0200 using RuboCop version 0.40.0.
+# on 2016-08-06 16:49:52 +0200 using RuboCop version 0.42.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
@@ -18,6 +18,16 @@ Lint/NestedMethodDefinition:
- 'lib/guard/commands/show.rb'
- 'lib/guard/jobs/pry_wrapper.rb'
+# Offense count: 7
+# Configuration parameters: Include.
+# Include: app/**/*.rb, config/**/*.rb, lib/**/*.rb
+Rails/Exit:
+ Exclude:
+ - 'lib/**/*.rake'
+ - 'lib/guard.rb'
+ - 'lib/guard/cli.rb'
+ - 'lib/tasks/releaser.rb'
+
# Offense count: 39
# Cop supports --auto-correct.
Style/MutableConstant:
@@ -38,6 +48,21 @@ Style/MutableConstant:
- 'lib/guard/ui/colors.rb'
- 'lib/guard/version.rb'
+# Offense count: 2
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, SupportedStyles.
+# SupportedStyles: predicate, comparison
+Style/NumericPredicate:
+ Exclude:
+ - 'lib/guard/dsl_describer.rb'
+ - 'lib/guard/terminal.rb'
+
+# Offense count: 1
+# Cop supports --auto-correct.
+Style/SpaceInsideArrayPercentLiteral:
+ Exclude:
+ - 'guard.gemspec'
+
# Offense count: 41
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
@@ -57,3 +82,11 @@ Style/SpaceInsideStringInterpolation:
- 'lib/guard/plugin_util.rb'
- 'lib/guard/runner.rb'
- 'lib/guard/ui.rb'
+
+# Offense count: 2
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
+# SupportedStyles: single_quotes, double_quotes
+Style/StringLiterals:
+ Exclude:
+ - 'Rakefile'

0 comments on commit ed7303c

Please sign in to comment.