Skip to content

Instantly share code, notes, and snippets.

@RISCfuture
Created March 13, 2018 19:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RISCfuture/5a2feef78beb4300b6cbc2050518745e to your computer and use it in GitHub Desktop.
Save RISCfuture/5a2feef78beb4300b6cbc2050518745e to your computer and use it in GitHub Desktop.
WIP RuboCop
# Bundler/OrderedGems:
# Exclude:
# - 'Gemfile'
Layout/CaseIndentation:
IndentOneStep: true
Layout/DotPosition:
EnforcedStyle: trailing
Layout/EmptyLineBetweenDefs:
AllowAdjacentOneLineDefs: true
Layout/EmptyLinesAroundClassBody:
Enabled: false
Layout/EmptyLinesAroundModuleBody:
Enabled: false
Layout/FirstParameterIndentation:
Enabled: false
Layout/IndentArray:
EnforcedStyle: special_inside_parentheses
IndentationWidth: 4
Layout/IndentHash:
EnforcedStyle: special_inside_parentheses
IndentationWidth: 4
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
IndentationWidth: 4
Layout/MultilineOperationIndentation:
EnforcedStyle: indented
IndentationWidth: 4
Layout/SpaceAroundEqualsInParameterDefault:
EnforcedStyle: no_space
Layout/SpaceAroundOperators:
Enabled: false
Layout/SpaceInsideBlockBraces:
EnforcedStyle: space
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
Lint/Loop:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/BlockLength:
Enabled: false
Metrics/BlockNesting:
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/LineLength:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Style/AndOr:
EnforcedStyle: conditionals
Style/AsciiComments:
Enabled: false
Style/ClassCheck:
EnforcedStyle: kind_of?
Style/CommentAnnotation:
Keywords: [TODO, HACK, DEBUG]
Style/DefWithParentheses:
Enabled: false
# Style/EmptyElse:
# Enabled: false
Style/EmptyLiteral:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/RedundantReturn:
Enabled: false
Style/RegexpLiteral:
AllowInnerSlashes: true
Style/SingleLineMethods:
Enabled: false
Style/StringLiterals:
Enabled: false
Style/RaiseArgs:
Enabled: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment