config/default.yml in ezcater_rubocop-1.0.2 vs config/default.yml in ezcater_rubocop-1.1.0
- old
+ new
@@ -1,8 +1,16 @@
Ezcater/RailsConfiguration:
Description: 'Enforce the use of `Rails.configuration` instead of `Rails.application.config`.'
Enabled: true
+Ezcater/RailsEnv:
+ Description: 'Enforce the use of `Rails.configuration.x.<foo>` instead of checking `Rails.env`.'
+ Enabled: false
+
+Ezcater/DirectEnvCheck:
+ Description: 'Enforce the use of `Rails.configuration.x.<foo>` instead of checking `ENV`.'
+ Enabled: false
+
Ezcater/RspecDotNotSelfDot:
Description: 'Enforce ".<class method>" instead of "self.<class method>" for example group description.'
Enabled: true
Include:
- '**/*_spec.rb'