diff options
author | Benoit Daloze <eregontp@gmail.com> | 2019-07-27 12:40:09 +0200 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2019-07-27 12:40:09 +0200 |
commit | 5c276e1cc91c5ab2a41fbf7827af2fed914a2bc0 (patch) | |
tree | 05b5c68c8b2a00224d4646ea3b26ce3877efaadd /spec/ruby/.rubocop.yml | |
parent | a06301b103371b0b7da8eaca26ba744961769f99 (diff) | |
download | ruby-5c276e1cc91c5ab2a41fbf7827af2fed914a2bc0.tar.gz |
Update to ruby/spec@875a09e
Diffstat (limited to 'spec/ruby/.rubocop.yml')
-rw-r--r-- | spec/ruby/.rubocop.yml | 15 |
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 |