diff options
author | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-29 14:35:37 +0000 |
---|---|---|
committer | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-29 14:35:37 +0000 |
commit | 5b593e388931490c1e2246d0347c892440167b2c (patch) | |
tree | 70d928d35c01b51bb9a6cdc44af4bd7cc05a669b /spec/rubyspec/.rubocop.yml | |
parent | 6a4aa4838cc53a520044b86deb4ecddb57bca876 (diff) |
Update to ruby/spec@abf1700
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/rubyspec/.rubocop.yml')
-rw-r--r-- | spec/rubyspec/.rubocop.yml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/spec/rubyspec/.rubocop.yml b/spec/rubyspec/.rubocop.yml new file mode 100644 index 0000000000..a776517b73 --- /dev/null +++ b/spec/rubyspec/.rubocop.yml @@ -0,0 +1,40 @@ +inherit_from: .rubocop_todo.yml + +AllCops: + TargetRubyVersion: 2.4 + DisplayCopNames: true + Exclude: + - command_line/fixtures/bad_syntax.rb + DisabledByDefault: true + +Lint: + Enabled: true + +Lint/AssignmentInCondition: + Enabled: false + +Lint/LiteralInCondition: + Enabled: false + +Lint/UnifiedInteger: + Enabled: false + +Lint/UnusedBlockArgument: + Enabled: false + +Lint/UnusedMethodArgument: + Enabled: false + +Lint/UselessAssignment: + Enabled: false + +Lint/UselessComparison: + Enabled: false + +# The cop registers too many false positives to `.should == something` +Lint/Void: + Enabled: false + +Lint/EmptyExpression: + Exclude: + - 'language/**/*.rb' |