Install and configure Rubocop
Published on September 26, 2019
How to include Rubocop in Travis CI
-
Add commands in travis.yml file:
gem install rubocop
bundle install
rubocop
How to configure Rubocop analysis
- Create a .rubocop.yml file and configure.
- I relied on some sites and followed standards.
- References are listed below.
- The main reading : Ruby Style Guide.
- To check the settings, see the .rubocop.yml file.
Readings
If you like it, share it!