Skip to content

burtcorp/rubocop-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

Rubocop Config

This repo includes Rubocop (https://rubocop.org/) config shared across all Burt's Ruby projects.

Usage

Install the Rubocop gems (which one depends on the type of project).

group :development do
  gem 'rubocop'
  gem 'rubocop-rails'
  gem 'rubocop-rspec'
end

Add the Rubocop config in .rubocop.yml:

inherit_from:
  - https://raw.githubusercontent.com/burtcorp/rubocop-config/master/rubocop.yml
  - https://raw.githubusercontent.com/burtcorp/rubocop-config/master/rubocop-rspec.yml

AllCops:
  TargetRubyVersion: 3.1

Style/TrailingBodyOnModule:
  Enabled: false

# ...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •