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:
51
51
- " $mongo"
52
52
- " $rollout"
53
53
54
+ # Allow $! in config/initializers
55
+ Style/SpecialGlobalVars :
56
+ Exclude :
57
+ - config/initializers/**/*
58
+
54
59
# We have common cases where has_ and have_ make sense
55
60
Style/PredicateName :
56
61
Enabled : true
@@ -63,6 +68,17 @@ Style/PercentLiteralDelimiters:
63
68
" %w " : []
64
69
" %W " : []
65
70
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
+
66
82
# ###############################################################################
67
83
# Rails - disable things because we're primarily non-rails
68
84
# ###############################################################################
@@ -92,7 +108,3 @@ Style/ClassAndModuleChildren:
92
108
Style/BlockDelimiters :
93
109
Exclude :
94
110
- spec/**/*
95
-
96
- Style/Blocks :
97
- Exclude :
98
- - spec/**/*
You can’t perform that action at this time.
0 commit comments