Last active
September 10, 2018 17:39
-
-
Save trejo08/5cb5934be81cf970684a494bbf459391 to your computer and use it in GitHub Desktop.
Preffered Rubocop configuration for rails
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
## Prefered rubocop conf for rails | |
## Source: https://github.com/rubocop-hq/rubocop/blob/master/config/default.yml | |
inherit_gem: | |
rubocop-rails_config: | |
- config/rails.yml | |
AllCops: | |
RubyInterpreters: | |
- ruby | |
TargetRubyVersion: 2.4 | |
Layout/IndentationConsistency: | |
EnforcedStyle: rails | |
SupportedStyles: | |
- normal | |
- rails | |
Style/StringLiterals: | |
EnforcedStyle: single_quotes | |
Style/FrozenStringLiteralComment: | |
Enabled: false | |
Layout/EmptyLinesAroundBlockBody: | |
EnforcedStyle: no_empty_lines | |
SupportedStyles: | |
- empty_lines | |
- no_empty_lines |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment