Remove duplicated elements from AllCops.Exclude #5
+0
−7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Some elements are already configured by default, so you do not need to configure these at rubocop-rails-omakase side.
If you intentionally have duplicated elements, feel free to close this pull request.
Details
rubocop side
The following elements are configured in rubocop:
'node_modules/**/*'
'tmp/**/*'
'vendor/**/*'
'.git/**/*'
https://github.com/rubocop/rubocop/blob/v1.59.0/config/default.yml#L65-L69
rubocop-rails side
The following elements are configured in rubocop-rails:
app/assets/**/*
bin/*
db/*schema.rb
log/**/*
public/**/*
storage/**/*
https://github.com/rubocop/rubocop-rails/blob/v2.23.1/config/default.yml#L8-L16
Verification
The following command can be used to verify that the configuration remain the same after the change: