8000 Merge pull request #4942 from activeadmin/predicate_methods · parse/activeadmin@ef8fc00 · GitHub
[go: up one dir, main page]

Skip to content

Commit ef8fc00

Browse files
Merge pull request activeadmin#4942 from activeadmin/predicate_methods
Enable Style/PredicateName cop
2 parents be4d7ba + 6d6a1d9 commit ef8fc00

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.rubocop.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@ AllCops:
2020
Style/HashSyntax:
2121
Enabled: true
2222

23+
Style/PredicateName:
24+
Enabled: true
25+
26+
NamePrefixBlacklist:
27+
- is_
28+
- have_
29+
30+
NameWhitelist:
31+
- has_many
32+
- has_many_actions
33+
2334
Style/TrailingWhitespace:
2435
Enabled: true
2536

0 commit comments

Comments
 (0)
0