rubocop
https://github.com/rubocop-hq/rubocop
Ruby
A Ruby static code analyzer and formatter, based on the community Ruby style guide.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
48 Subscribers
View all SubscribersAdd a CodeTriage badge to rubocop
Help out
- Issues
- Keep directives for cops that only preview disables
- Fix --changed in new repos, subdirectories and with a path argument
- Fix signed directive arguments and department opt-ins
- Fix preview resolution with injected defaults and inherited files
- Keep MisplacedMagicComment from displacing the encoding comment
- Fix PathUtil.relative_path truncating paths that share only a string prefix with the base dir
- Change `Style/StaticClass` autocorrect to stop inserting `module_function`
- Fix false negatives in `Layout/ClassStructure` with symbol-list modifiers
- Fix an incorrect autocorrect for `Layout/ClassStructure` leaving blank lines
- Bug Report: --only option ignores FactoryBot/AttributeDefinedStatically
- Docs
- RuboCop::Runner#initial_processed_source
- RuboCop::Cop::Lint::Loop#space_before_end
- RuboCop::Cop::Lint::Loop#insert_break_line
- RuboCop::Cop::Lint::Void#void_expression_range
- RuboCop::Cop::Style::Alias#bareword_for
- RuboCop::Cop::Style::Alias#bareword_symbol?
- RuboCop::Cop::Style::AndOr.autocorrect_incompatible_with
- RuboCop::Cop::Layout::LineLength#opens_string?
- RuboCop::Cop::Layout::LineLength#breakable_string_range_at_limit
- RuboCop::Cop::Layout::LineLength#escape_sequence_start