Skip to content

Instantly share code, notes, and snippets.

@wazery
Created June 8, 2016 11:38
Show Gist options
  • Save wazery/7eaa187a6fd5bdd44d77b5bd2088e54f to your computer and use it in GitHub Desktop.
Save wazery/7eaa187a6fd5bdd44d77b5bd2088e54f to your computer and use it in GitHub Desktop.
AllCops:
Include:
- 'Gemfile'
- 'app/**/*.rb'
- 'lib/**/*.rb'
- 'lib/**/*.rake'
- 'config/**/*.rb'
Exclude:
- 'db/**/*.rb'
- 'bin/**/*'
- 'features/**/*.rb'
- 'script/**/*.rb'
- 'spec/**/*.rb'
- 'vendor/**/*'
Style/SelfAssignment: # good to be enabled
Enabled: false
Style/NestedTernaryOperator: # good to be enabled
Enabled: false
Style/PredicateName: # good to be enabled
Enabled: false
Style/AccessorMethodName: # good to be enabled
Enabled: false
Style/DoubleNegation:
Enabled: false
Style/ClassVars:
Enabled: false
Style/Documentation:
Enabled: false
Style/RescueModifier:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/SpaceInsideHashLiteralBraces:
Enabled: false
Style/TrailingComma:
Enabled: false
Metrics/BlockNesting: # good to be enabled
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/LineLength:
Enabled: false
Lint/HandleExceptions:
Enabled: false
Copy link

ghost commented Jun 8, 2016

Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment