RuboCop

RuboCop , rubocop code quality, rubocop/rubocop, на сайте с December 09, 2021 04:13
Rubocop is a linter1 and formatter, which is a fancy way of saying that it checks the raw source code against a set of rules (e.g. for common errors or conformance to a style guide) and can autocorrect it. Each rule in Rubocop is called a “cop” and follows a visitor-inspired pattern.