Lint: organize configuration of excluded files

This commit is contained in:
Jared Beck 2021-10-25 12:05:14 -04:00
parent 845c6ef7ef
commit ff9e0abfb5
1 changed files with 3 additions and 6 deletions

View File

@ -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