Audience
Developers who want a code style checker and formatter solution that supports most coding styles
About RuboCop
RuboCop is a Ruby code style checker (linter) and formatter based on the community-driven Ruby Style Guide. RuboCop is extremely flexible and most aspects of its behavior can be tweaked via various configuration options. In practice RuboCop supports pretty much every (reasonably popular) coding style that you can think of. Apart from reporting problems in your code, RuboCop can also automatically fix some of the problems for you. RuboCop packs a lot of features on top of what you’d normally expect from a linter. Works with every major Ruby implementation. Auto-correction of many of the code offenses it detects. Robust code formatting capabilities. Multiple result formatters for both interactive use and for feeding data into other tools. Ability to have different configuration for different parts of your codebase. Ability to disable certain cops only for specific files or parts of files.