rubocul_default.yml in rubocul-4.0.0 vs rubocul_default.yml in rubocul-4.0.1
- old
+ new
@@ -1,9 +1,15 @@
require:
- - rubocop-performance
- ./lib/rubocop/cul.rb
+inherit_from:
+ - rubocul_rules_bundler.yml
+ - rubocul_rules_performance.yml
+ - rubocul_rules_rails.yml
+ - rubocul_rules_rspec.yml
+ - rubocul_rules_security.yml
+
AllCops:
TargetRubyVersion: 2.7
# Disable any new "pending" cops that are introduced in a minor version update of rubocop.
# We only want to opt into these explicitly, or accept them when we update to a new MAJOR
# version of rubocop. See: https://docs.rubocop.org/rubocop/versioning.html#pending-cops
@@ -17,17 +23,10 @@
- 'tmp/**/*'
- 'vendor/**/*'
- 'node_modules/**/*'
- 'app/javascript/**/*'
-inherit_from:
- - rubocul_rules_bundler.yml
- - rubocul_rules_performance.yml
- - rubocul_rules_rails.yml
- - rubocul_rules_rspec.yml
- - rubocul_rules_security.yml
-
Layout/HashAlignment:
SupportedHashRocketStyles:
- key
- table
SupportedColonStyles:
@@ -57,13 +56,9 @@
Style/SymbolArray:
Enabled: false
RSpec/ExpectInHook:
Enabled: false
-
-Metrics/BlockLength:
- Exclude:
- - 'spec/**/*'
# TODO: Decide how we feel about this later
Naming/VariableNumber:
Enabled: false