Skip to content

Instantly share code, notes, and snippets.

@manufarez
Created October 24, 2023 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manufarez/d5e3213dc144fa216e89a2cea8182701 to your computer and use it in GitHub Desktop.
Save manufarez/d5e3213dc144fa216e89a2cea8182701 to your computer and use it in GitHub Desktop.
Limit default interventions when using Rubocop in VSCode
require:
- rubocop-rails
- rubocop-performanc
AllCops:
NewCops: enable
Exclude:
- "db/**/*"
- "config/**/*"
- "script/**/*"
- "test/**/*"
- "bin/{rails,rake,bundle}"
Style/Documentation:
Enabled: false
Style/EmptyMethod:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/StringLiterals:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/AbcSize:
Enabled: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment