Reduce our surface, extend self is useful for some modules.
We should handle extend self and module_function on a case-by-case basis because there are times when extend self is useful, especially when you wish a module to be included but also available on itself. `module_function` does not allow this.
This commit is contained in:
parent
519c0f1b38
commit
2a280b7f62
|
@ -20,6 +20,7 @@ engines:
|
|||
Rubocop/Style/RegexpLiteral: { enabled: false }
|
||||
Rubocop/Style/GuardClause: { enabled: false }
|
||||
Rubocop/Style/FileName: { enabled: false }
|
||||
Rubocop/Style/ModuleFunction: { enabled: false }
|
||||
fixme:
|
||||
enabled: false
|
||||
exclude_paths:
|
||||
|
|
Loading…
Reference in New Issue