.rubocop.yml in rubocop-bitcrowd-1.2.1 vs .rubocop.yml in rubocop-bitcrowd-1.3.0
- old
+ new
@@ -1,11 +1,6 @@
AllCops:
- Include:
- - '**/Gemfile'
- - '**/Rakefile'
- - '**/config.ru'
- - '**/Capfile'
Exclude:
- 'node_modules/**/*'
- 'vendor/bundle/**/*'
- 'script/**/*'
- 'db/schema.rb'
@@ -62,10 +57,17 @@
Enabled: false
Rails/TimeZone:
Enabled: true
+Rails/UnknownEnv:
+ Environments:
+ - development
+ - test
+ - staging
+ - production
+
Rails/Validation:
Enabled: true
Style/AndOr:
Enabled: true
@@ -81,10 +83,10 @@
Style/MethodCalledOnDoEndBlock:
Enabled: true
Style/FrozenStringLiteralComment:
- Enabled: false
+ EnforcedStyle: always
Style/MutableConstant:
Enabled: true
Metrics/MethodLength: