Rubocop
Pro Plan Feature
This feature is available exclusively as part of the Pro plan and is not included in the Lite plan. Please refer to our pricing page for more information about our plans and features.
Rubocop A Ruby static code analyzer and formatter, based on the community Ruby style guide.
Files
Rubocop will run on the following files and extensions:
.rb
.arb
.axlsx
.builder
.fcgi
.gemfile
.gemspec
.god
.jb
.jbuilder
.mspec
.opal
.pluginspec
.podspec
.rabl
.rake
.rbuild
.rbw
.rbx
.ru
.ruby
.schema
.spec
.thor
.watchr
.irbrc
.pryrc
.simplecov
buildfile
Appraisals
Berksfile
Brewfile
Buildfile
Capfile
Cheffile
Dangerfile
Deliverfile
Fastfile
Fastfile
Gemfile
Guardfile
Jarfile
Mavenfile
Podfile
Puppetfile
Rakefile
rakefile
Schemafile
Snapfile
Steepfile
Thorfile
Vagabondfile
Vagrantfile
Configuration
Rubocop uses a YAML style configuration file. We look for the following files anywhere in the repository:
.rubocop.yml
.rubocop.yaml
CodeRabbit will use the default settings based on the profile selected if no config file is found.