Created
October 30, 2019 03:18
-
-
Save 3014zhangshuo/706f5faff9bb29479525cbaecb14ee44 to your computer and use it in GitHub Desktop.
my rubocop config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://gitee.com/wds/gitlab-ce/blob/master/.rubocop.yml