|0.61.0+ (default: 1.18.3)||Ruby||https://rubocop.org|
RuboCop is a pluggable static code analyzer and code formatter for Ruby. It has been community-driven developed and has many rules and plugins including third-party's ones.
To start using RuboCop, enable it in your repository settings.
If you want to customize RuboCop, run the following command in your project' root directory:
$ rubocop --init
See also the user guide for details.
Here is an example configuration via
linter: rubocop: config: config/.rubocop.yml safe: true
You can use the following options to make analysis fitter for your project.
This option allows you to specify your configuration file. If omitted, the RuboCop default configuration is used.
The option is ignored when using the version
0.72.0 or later, and will be removed in the future.
This option allows you to select whether using Rails cops or not. If omitted, Sider automatically determines it.