Last active
March 7, 2021 02:10
-
-
Save tinacious/1700f6069c7a8db5835926782970d409 to your computer and use it in GitHub Desktop.
Ruby linter configuration
This file contains 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: | |
NewCops: enable | |
Exclude: | |
- 'db/**/*' | |
- 'vendor/**/*' | |
Layout/LineLength: | |
Max: 150 | |
IgnoredPatterns: ['\#'] | |
Exclude: | |
- 'spec/**/*' | |
Layout/MultilineMethodCallIndentation: | |
EnforcedStyle: indented | |
Layout/MultilineAssignmentLayout: | |
EnforcedStyle: same_line | |
Layout/EndAlignment: | |
EnforcedStyleAlignWith: start_of_line | |
Layout/FirstHashElementIndentation: | |
EnforcedStyle: consistent | |
Layout/MultilineOperationIndentation: | |
EnforcedStyle: indented | |
Layout/FirstArrayElementIndentation: | |
EnforcedStyle: consistent | |
Layout/ArgumentAlignment: | |
EnforcedStyle: with_fixed_indentation | |
Layout/MultilineMethodCallBraceLayout: | |
EnforcedStyle: symmetrical | |
Exclude: | |
- 'spec/**/*' | |
Layout/ClosingParenthesisIndentation: | |
IgnoredPatterns: ['\#'] | |
Layout/DotPosition: | |
EnforcedStyle: trailing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment