Skip to content

Instantly share code, notes, and snippets.

@dorianmariecom
Created August 26, 2021 17:35
Show Gist options
  • Save dorianmariecom/0e447b2adc186b3258181d89962f8270 to your computer and use it in GitHub Desktop.
Save dorianmariecom/0e447b2adc186b3258181d89962f8270 to your computer and use it in GitHub Desktop.
AllCops:
NewCops: enable
Exclude:
- "react-native/**/*"
- "node_modules/**/*"
- "vendor/**/*"
- "db/schema.rb"
- "bin/*"
inherit_gem:
prettier: rubocop.yml
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/FrozenStringLiteralComment:
Enabled: false
Style/Documentation:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/BlockLength:
Enabled: false
Style/AsciiComments:
Enabled: false
Metrics/AbcSize:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
Style/StringLiteralsInInterpolation:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Style/GuardClause:
Enabled: false
Naming/VariableNumber:
EnforcedStyle: snake_case
Exclude:
- config/initializers/omniauth.rb
Metrics/ClassLength:
Enabled: false
Metrics/ModuleLength:
Enabled: false
Style/SafeNavigation:
Enabled: false
Style/NumericPredicate:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/CaseLikeIf:
Enabled: false
Metrics/ParameterLists:
Enabled: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment