Skip to content

Commit 3dfdcf7

Browse files
committed
Merge pull request #14 from codeclimate/fh-allow-special-globals-in-initializers
Rubocop allows special globals in initializers.
2 parents 8d9036b + 59b7ea2 commit 3dfdcf7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

rubocop.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ Style/GlobalVars:
5151
- "$mongo"
5252
- "$rollout"
5353

54+
# Allow $! in config/initializers
55+
Style/SpecialGlobalVars:
56+
Exclude:
57+
- config/initializers/**/*
58+
5459
# We have common cases where has_ and have_ make sense
5560
Style/PredicateName:
5661
Enabled: true

0 commit comments

Comments
 (0)