Lint: organize configuration of excluded files
This commit is contained in:
parent
845c6ef7ef
commit
ff9e0abfb5
|
@ -14,9 +14,10 @@ inherit_from: .rubocop_todo.yml
|
|||
# - Only include permanent config; temporary goes in .rubocop_todo.yml
|
||||
|
||||
AllCops:
|
||||
# Generated files, like schema.rb, are out of our control.
|
||||
Exclude:
|
||||
- gemfiles/vendor/bundle/**/* # This dir only shows up on travis ¯\_(ツ)_/¯
|
||||
- spec/dummy_app/db/schema.rb # Generated, out of our control
|
||||
- gemfiles/*
|
||||
- spec/dummy_app/db/schema.rb
|
||||
|
||||
# Enable pending cops so we can adopt the code before they are switched on.
|
||||
NewCops: enable
|
||||
|
@ -24,10 +25,6 @@ AllCops:
|
|||
# See "Lowest supported ruby version" in CONTRIBUTING.md
|
||||
TargetRubyVersion: 2.6
|
||||
|
||||
Bundler/OrderedGems:
|
||||
Exclude:
|
||||
- gemfiles/* # generated by Appraisal
|
||||
|
||||
Layout/ArgumentAlignment:
|
||||
EnforcedStyle: with_fixed_indentation
|
||||
|
||||
|
|
Loading…
Reference in New Issue