Skip to content

Instantly share code, notes, and snippets.

@sirramongabriel
Created September 14, 2019 16:31
Show Gist options
  • Save sirramongabriel/3a05d98ac438c75ebbdadf35994e7aa8 to your computer and use it in GitHub Desktop.
Save sirramongabriel/3a05d98ac438c75ebbdadf35994e7aa8 to your computer and use it in GitHub Desktop.
The following file doesn't work for me when running rubocop.
require: rubocop-rails
inherit_from:
- http://www.example.com/rubocop.yml
- ../.rubocop.yml
AllCops:
Exclude:
- 'db/**/*'
- 'config/**/*'
- 'script/**/*'
- 'bin/{rails,rake}'
- 'vendor/**/*'
- 'spec/fixtures/**/*'
- 'spec/views/**/*'
- 'spec/support/**/*.rb'
- 'spec/support/*.rb'
- !ruby/regexp /old_and_unused\.rb$/
LineLength:
Description: Limit lines to 79 characters.
Enabled: false
Max: 79
Style/MixinUsage:
Exclude:
- 'spec/support/warden.rb'
Style/Encoding:
Enabled: false
Metrics/LineLength:
Enabled: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment