Commit 9f96c3f
committed
Suppress RuboCop's warning and offense
This PR suppresses the following RuboCop's warning and offense:
```console
$ bundle exec rubocop rake
(snip)
Warning: Using `Naming/PredicateName` configuration in /Users/koic/src/github.com/rubocop/rubocop-rails/.rubocop.yml for `Naming/PredicatePrefix`.
(snip)
Offenses:
lib/rubocop/cop/rails/save_bang.rb:230:13: C: Naming/PredicateMethod: Predicate method names should end with ?.
def check_used_in_condition_or_compound_boolean(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
301 files inspected, 1 offense detected
```1 parent bc95f97 commit 9f96c3f
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| |||
0 commit comments