This repository was archived by the owner on Jul 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff 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
5560Style/PredicateName :
5661 Enabled : true
@@ -63,6 +68,17 @@ Style/PercentLiteralDelimiters:
6368 " %w " : []
6469 " %W " : []
6570
71+ # Allow "trivial" accessors when defined as a predicate? method
72+ Style/TrivialAccessors :
73+ AllowPredicates : true
74+
75+ Style/Next :
76+ Enabled : false
77+
78+ # We think it's OK to use the "extend self" module pattern
79+ Style/ModuleFunction :
80+ Enabled : false
81+
6682# ###############################################################################
6783# Rails - disable things because we're primarily non-rails
6884# ###############################################################################
@@ -92,7 +108,3 @@ Style/ClassAndModuleChildren:
92108Style/BlockDelimiters :
93109 Exclude :
94110 - spec/**/*
95-
96- Style/Blocks :
97- Exclude :
98- - spec/**/*
You can’t perform that action at this time.
0 commit comments