| name | ruby-modern-idioms |
|---|---|
| description | Review Ruby code for semantic idioms that linters cannot catch. Use when reviewing any Ruby file for method naming violations (call), pattern matching on Result objects instead of if/else, Struct used instead of Data.define, or discouraged idioms (tap, &method). |
Review Ruby code for semantic idioms that linters cannot catch. RuboCop
(rubocop-rails-omakase) already enforces frozen string literals, hash
shorthand, endless methods, and it blocks — do not flag those.