Last active
January 28, 2022 17:17
-
-
Save marekciupak/3990abb335c9b7e818e046b3cf12ca1f to your computer and use it in GitHub Desktop.
.rubocop.yml
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: | |
NewCops: enable | |
Exclude: | |
- 'db/schema.rb' | |
- 'vendor/**/*' | |
Layout/EndOfLine: | |
EnforcedStyle: lf | |
Layout/EmptyLineAfterGuardClause: | |
Enabled: false | |
Layout/EmptyLineBetweenDefs: | |
AllowAdjacentOneLineDefs: true | |
Layout/FirstArrayElementIndentation: | |
EnforcedStyle: consistent | |
Layout/FirstHashElementIndentation: | |
EnforcedStyle: consistent | |
Layout/CaseIndentation: | |
EnforcedStyle: end | |
IndentOneStep: true | |
Layout/ArgumentAlignment: | |
EnforcedStyle: with_fixed_indentation | |
Layout/ParameterAlignment: | |
EnforcedStyle: with_fixed_indentation | |
Layout/ArrayAlignment: | |
EnforcedStyle: with_fixed_indentation | |
Layout/HashAlignment: | |
EnforcedLastArgumentHashStyle: ignore_implicit | |
Layout/MultilineMethodCallIndentation: | |
EnforcedStyle: indented | |
Layout/MultilineOperationIndentation: | |
EnforcedStyle: indented | |
Layout/ExtraSpacing: | |
AllowForAlignment: false | |
Layout/ClassStructure: | |
Enabled: true | |
Lint/EmptyClass: | |
Enabled: false | |
Lint/ShadowingOuterLocalVariable: | |
Enabled: false | |
Metrics: | |
Enabled: false | |
Naming/VariableNumber: | |
Enabled: false | |
Style/Documentation: | |
Enabled: false | |
Style/DoubleNegation: | |
Enabled: false | |
Style/GuardClause: | |
Enabled: false | |
Style/NumericPredicate: | |
Enabled: false | |
Style/IfUnlessModifier: | |
Enabled: false | |
Style/SymbolArray: | |
Enabled: false | |
Style/WordArray: | |
Enabled: false | |
Style/TrailingCommaInArguments: | |
EnforcedStyleForMultiline: comma | |
Style/TrailingCommaInArrayLiteral: | |
EnforcedStyleForMultiline: comma | |
Style/TrailingCommaInHashLiteral: | |
EnforcedStyleForMultiline: comma |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment