KEMBAR78
Exclude `AutoCorrect` and `Include` from configuration parameters by r7kamura · Pull Request #14464 · rubocop/rubocop · GitHub
Skip to content

Conversation

@r7kamura
Copy link
Contributor

How about excluding these keys from .rubocop_todo.yml configuration parameters?

  • AutoCorrect
  • Include

Since these keys are common to many cops, I don’t think they should be listed as configuration parameters for any specific cop.


Before submitting the PR make sure the following are checked:

  • The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
  • Wrote good commit messages.
  • Commit message starts with [Fix #issue-number] (if the related issue exists).
  • Feature branch is up-to-date with master (if not - rebase it).
  • Squashed related commits together.
  • Added tests.
  • Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
  • Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

@Earlopain
Copy link
Contributor

Earlopain commented Aug 19, 2025

Right, makes sense. I was momentarily confused since I never saw them in todo files but relatively few actually set these keys in the default config.

@bbatsov bbatsov merged commit 6148399 into rubocop:master Aug 19, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants