summaryrefslogtreecommitdiff
path: root/spec/ruby/.rubocop.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/.rubocop.yml')
-rw-r--r--spec/ruby/.rubocop.yml21
1 files changed, 20 insertions, 1 deletions
diff --git a/spec/ruby/.rubocop.yml b/spec/ruby/.rubocop.yml
index a776517b73..d8b9aa7f8a 100644
--- a/spec/ruby/.rubocop.yml
+++ b/spec/ruby/.rubocop.yml
@@ -7,13 +7,28 @@ AllCops:
- command_line/fixtures/bad_syntax.rb
DisabledByDefault: true
+Layout/TrailingWhitespace:
+ Enabled: true
+
Lint:
Enabled: true
Lint/AssignmentInCondition:
Enabled: false
-Lint/LiteralInCondition:
+Lint/BooleanSymbol:
+ Enabled: false
+
+Lint/InterpolationCheck:
+ Enabled: false
+
+Lint/LiteralAsCondition:
+ Enabled: false
+
+Lint/UnneededRequireStatement:
+ Enabled: false
+
+Lint/RescueWithoutErrorClass:
Enabled: false
Lint/UnifiedInteger:
@@ -38,3 +53,7 @@ Lint/Void:
Lint/EmptyExpression:
Exclude:
- 'language/**/*.rb'
+
+Lint/UriRegexp:
+ Exclude:
+ - 'library/uri/regexp_spec.rb'