-
-
Save danielvamosi/ac2df70b773fc8d3d1cb to your computer and use it in GitHub Desktop.
DiNa Rubocop Config
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: | |
RunRailsCops: true | |
Documentation: | |
Enabled: false | |
Style/AlignHash: | |
Enabled: false | |
Style/AlignParameters: | |
Enabled: false | |
Style/AndOr: | |
EnforcedStyle: conditionals | |
Style/BarePercentLiterals: | |
EnforcedStyle: percent_q | |
Style/BracesAroundHashParameters: | |
Enabled: false | |
Style/CaseIndentation: | |
IndentWhenRelativeTo: end | |
Style/ClassCheck: | |
Enabled: false | |
Style/DotPosition: | |
EnforcedStyle: trailing | |
Style/EmptyLineBetweenDefs: | |
AllowAdjacentOneLineDefs: true | |
Style/Encoding: | |
EnforcedStyle: when_needed | |
Style/For: | |
EnforcedStyle: each | |
Style/IfUnlessModifier: | |
MaxLineLength: 100 | |
Style/RedundantReturn: | |
AllowMultipleReturnValues: true | |
Style/Semicolon: | |
AllowAsExpressionSeparator: true | |
Style/SingleLineBlockParams: | |
Enabled: false | |
Style/TrivialAccessors: | |
ExactNameMatch: false | |
Style/WhileUntilModifier: | |
MaxLineLength: 100 | |
##################### Metrics ################################## | |
Metrics/ClassLength: | |
Max: 200 | |
Metrics/LineLength: | |
Max: 100 | |
Metrics/MethodLength: | |
Max: 20 | |
##################### Lint ################################## | |
Lint/DefEndAlignment: | |
AlignWith: def |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
is now