Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Summary Fixes #7814. This PR fixes a false positive for `Migrate/DepartmentName` cop when inspecting an unexpected disable comment format. e.g. `# rubocop:disable Style:BlockComments` The above expected format is `# rubocop:disable Style/BlockComments`. ### Other Information `Migration/DepartmentName` cop's role is to complement a department name. The role would be simple if another feature could detect unexpected disable comment format.
- Loading branch information
Showing
3 changed files
with
35 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters