Skip to content

Instantly share code, notes, and snippets.

@overdrivemachines
Last active January 28, 2024 08:39
Show Gist options
  • Save overdrivemachines/2ca00f777a901fa5255a107872a6db1f to your computer and use it in GitHub Desktop.
Save overdrivemachines/2ca00f777a901fa5255a107872a6db1f to your computer and use it in GitHub Desktop.
Rubocop
require:
- rubocop-performance
- rubocop-rails
- rubocop-rspec
- rubocop-md
AllCops:
NewCops: enable
Exclude:
- "vendor/**/*"
- "test/fixtures/**/*"
- "db/**/*"
- "bin/**/*"
- "log/**/*"
- "tmp/**/*"
- "config/environments/*"
- "node_modules/**/*"
- "Gemfile.lock"
# - "app/views/**/*"
Layout/LineLength:
Max: 200
Metrics/MethodLength:
# Max: 20
Enabled: false
Style/Documentation:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/StringLiterals:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/BlockLength:
Enabled: false
Bundler/OrderedGems:
Enabled: false
Metrics/ClassLength:
Enabled: false
Style/SymbolArray:
EnforcedStyle: brackets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment