### New features

* [#15167](https://github.com/rubocop/rubocop/pull/15167): Add `--enable-all-cops` and `--disable-all-cops` command line options that override `AllCops/EnabledByDefault` and `AllCops/DisabledByDefault` in configuration files. ([@koic][])
* [#15185](https://github.com/rubocop/rubocop/issues/15185): Make `Layout/EmptyLineAfterGuardClause` accept the new `# simplecov:disable` and `# simplecov:enable` directive comments. ([@koic][])
* [#15173](https://github.com/rubocop/rubocop/pull/15173): Add optional Rubydex integration via `AllCops/UseProjectIndex` to enable cross-file detection in `Lint/ConstantReassignment` (experimental). ([@koic][])

### Bug fixes

* [#15168](https://github.com/rubocop/rubocop/issues/15168): Fix false positives in `Lint/ParenthesesAsGroupedExpression` when the first argument is a call-like expression with its own parentheses, such as `yield(...)`. ([@koic][])
* [#15188](https://github.com/rubocop/rubocop/issues/15188): Fix false positives in `Style/YodaCondition` when one side is an array or hash literal containing non-literal elements. ([@koic][])
* [#15182](https://github.com/rubocop/rubocop/pull/15182): Fix incorrect autocorrect for `Style/Alias` causing a syntax error when the return value of `alias_method` is used, such as an argument to `public`, `private`, `protected`, or `module_function`, or the right-hand side of an assignment. ([@koic][])
* [#15174](https://github.com/rubocop/rubocop/pull/15174): Fix incorrect autocorrect for `Style/ClassAndModuleChildren` causing a syntax error when the namespace contains a method call (e.g., `class self.class::Foo; end`). ([@koic][])
* [#15180](https://github.com/rubocop/rubocop/pull/15180): Fix incorrect autocorrect for `Style/FileWrite` causing a syntax error when the written heredoc is chained with another method call. ([@koic][])
* [#15186](https://github.com/rubocop/rubocop/pull/15186): Fix incorrect autocorrect for `Style/HashConversion` causing a syntax error when `Hash[...]` is passed an anonymous splat (`*`). ([@koic][])
* [#15192](https://github.com/rubocop/rubocop/pull/15192): Fix incorrect autocorrect for `Style/StructInheritance` causing a syntax error when the inherited `Struct.new` is called without parentheses. ([@koic][])
* [#15170](https://github.com/rubocop/rubocop/pull/15170): Fix an infinite loop for `Layout/RedundantLineBreak` when a single-line block is chained with a safe navigation method call. ([@koic][])
* [#15175](https://github.com/rubocop/rubocop/pull/15175): Fix `Layout/IndentationWidth` to indent block bodies relative to the method selector for trailing-dot multi-line method chains when `EnforcedStyleAlignWith` is `relative_to_receiver`. ([@ddbrendan][])
* [#15135](https://github.com/rubocop/rubocop/issues/15135): Fix incorrect autocorrect for `Style/RedundantParentheses` that swallowed chained method calls into a trailing inline comment on the line above the closing parenthesis. ([@hammadxcm][])
* [#15184](https://github.com/rubocop/rubocop/pull/15184): Fix various typos and grammar mistakes in documentation and cop descriptions. ([@bbatsov][])

### Changes

* [#15171](https://github.com/rubocop/rubocop/pull/15171): Cache `FilePatterns#match?` results per path so cops sharing the same `Include`/`Exclude` configuration do not each repeat `File.fnmatch?` work on every file. ([@Darhazer][])

[@koic]: https://github.com/koic
[@ddbrendan]: https://github.com/ddbrendan
[@hammadxcm]: https://github.com/hammadxcm
[@bbatsov]: https://github.com/bbatsov
[@Darhazer]: https://github.com/Darhazer
