aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/.rubocop.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/.rubocop.yml')
-rw-r--r--spec/ruby/.rubocop.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/ruby/.rubocop.yml b/spec/ruby/.rubocop.yml
index 5de7154442..cc31ff50b3 100644
--- a/spec/ruby/.rubocop.yml
+++ b/spec/ruby/.rubocop.yml
@@ -100,3 +100,18 @@ Lint/UriRegexp:
Lint/Debugger:
Exclude:
- 'core/binding/fixtures/irb.rb'
+
+Style/Lambda:
+ Enabled: true
+ EnforcedStyle: literal
+ Exclude:
+ - 'language/lambda_spec.rb'
+ - 'language/proc_spec.rb'
+ - 'core/kernel/lambda_spec.rb'
+
+Style/EmptyLambdaParameter:
+ Enabled: true
+
+Style/StabbyLambdaParentheses:
+ Enabled: true
+ EnforcedStyle: require_no_parentheses