Skip to content

Instantly share code, notes, and snippets.

@th1agoalmeida
Created July 15, 2017 20:10
Show Gist options
  • Save th1agoalmeida/e516bd6540d5c8582941045c7bd1ab60 to your computer and use it in GitHub Desktop.
Save th1agoalmeida/e516bd6540d5c8582941045c7bd1ab60 to your computer and use it in GitHub Desktop.
inherit_from:
- .rubocop_todo.yml
AllCops:
DisplayCopNames: true
DisplayStyleGuide: true
ExtraDetails: true
EnabledByDefault: true
UseCache: true
CacheRootDirectory: ~
TargetRubyVersion: 2.4
TargetRailsVersion: 5.0
Exclude:
- 'vendor/**/*'
- 'db/schema.rb'
- '**/templates/**/*'
Include:
- '**/*.gemspec'
- '**/*.god'
- '**/*.rake'
- '**/*.spec'
- '**/.irbrc'
- '**/.pryrc'
- '**/config.ru'
- '**/Capfile'
- '**/Gemfile'
- '**/Guardfile'
- '**/Rakefile'
- '**/Vagrantfile'
# By Namespace
Style:
Enabled: true
Rails:
Enabled: true
Metrics:
Enabled: true
Performance:
Enabled: true
Layout:
Enabled: true
# Custom
Style/ClassAndModuleChildren:
Enabled: false
Style/Copyright:
Enabled: false
Style/Documentation:
Enabled: false
Style/DocumentationMethod:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/MethodCallWithArgsParentheses:
Enabled: false
Style/MissingElse:
Exclude:
- 'config/environments/*.rb'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment