Skip to content

Instantly share code, notes, and snippets.

@3014zhangshuo
Created October 30, 2019 03:18
Show Gist options
  • Save 3014zhangshuo/706f5faff9bb29479525cbaecb14ee44 to your computer and use it in GitHub Desktop.
Save 3014zhangshuo/706f5faff9bb29479525cbaecb14ee44 to your computer and use it in GitHub Desktop.
my rubocop config
AllCops:
Exclude:
- db/schema.rb
Style/Documentation:
Description: 'Missing top-level class documentation comment.'
Enabled: false
# confict IfUnlessModifier https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/IfUnlessModifier
Style/GuardClause:
Description: 'Check for conditionals that can be replaced with guard clauses'
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals'
Enabled: false
@3014zhangshuo
Copy link
Author

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