diff options
author | George Claghorn <george.claghorn@gmail.com> | 2018-07-26 13:52:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-26 13:52:24 -0400 |
commit | 5f92e43af1ba1413b40d25c99741812a103e02b8 (patch) | |
tree | cc85e2e7f57d292d00b71fc863dc8e4dc4331323 /.rubocop.yml | |
parent | 15a72c6c05cfc5250ee04742b4f45463f937d3f7 (diff) | |
parent | 211b10aea6313582e2f837edd297af4aeb33c8dc (diff) | |
download | rails-5f92e43af1ba1413b40d25c99741812a103e02b8.tar.gz rails-5f92e43af1ba1413b40d25c99741812a103e02b8.tar.bz2 rails-5f92e43af1ba1413b40d25c99741812a103e02b8.zip |
Merge pull request #33278 from koic/bump_rubocop_to_0_57_2
Bump RuboCop to 0.58.2
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index d1e8f03f13..9db88cbbdf 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,5 +1,3 @@ -require: './ci/custom_cops/lib/custom_cops' - AllCops: TargetRubyVersion: 2.4 # RuboCop has a bunch of cops enabled by default. This setting tells RuboCop @@ -11,13 +9,16 @@ AllCops: - 'actionpack/lib/action_dispatch/journey/parser.rb' - 'railties/test/fixtures/tmp/**/*' -# Prefer assert_not_x over refute_x -CustomCops/RefuteNot: +Rails: + Enabled: true + +# Prefer assert_not over assert ! +Rails/AssertNot: Include: - '**/test/**/*' -# Prefer assert_not over assert ! -CustomCops/AssertNot: +# Prefer assert_not_x over refute_x +Rails/RefuteMethods: Include: - '**/test/**/*' |