Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Suppress
Layout/ClassStructure
offenses
Follow up rubocop/rubocop#11329 ```console % bundle exec rake (snip) Offenses: lib/rubocop/ast/node_pattern.rb:105:7: C: [Correctable] Layout/ClassStructure: public_class_methods is supposed to appear before initializer. def self.descend(element, &block) ... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lib/rubocop/ast/processed_source.rb:23:7: C: [Correctable] Layout/ClassStructure: constants is supposed to appear before public_class_methods. INVALID_LEVELS = %i[error fatal].freeze ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tasks/changelog.rb:121:3: C: [Correctable] Layout/ClassStructure: public_class_methods is supposed to appear before initializer. def self.pending? ... ^^^^^^^^^^^^^^^^^ 162 files inspected, 3 offenses detected, 3 offenses autocorrectable ```
- Loading branch information
Showing
3 changed files
with
34 additions
and
33 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