You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ffi-clang/.rubocop.yml

80 lines
1.3 KiB
YAML

plugins:
- rubocop-md
- rubocop-socketry
AllCops:
DisabledByDefault: true
Layout/ConsistentBlankLineIndentation:
Enabled: true
Layout/IndentationStyle:
Enabled: true
EnforcedStyle: tabs
Layout/InitialIndentation:
Enabled: true
Layout/IndentationWidth:
Enabled: true
Width: 1
Layout/IndentationConsistency:
Enabled: true
EnforcedStyle: normal
Layout/BlockAlignment:
Enabled: true
Layout/EndAlignment:
Enabled: true
EnforcedStyleAlignWith: start_of_line
Layout/BeginEndAlignment:
Enabled: true
EnforcedStyleAlignWith: start_of_line
Layout/RescueEnsureAlignment:
Enabled: true
Layout/ElseAlignment:
Enabled: true
Layout/DefEndAlignment:
Enabled: true
Layout/CaseIndentation:
Enabled: true
EnforcedStyle: end
Layout/CommentIndentation:
Enabled: true
Layout/FirstHashElementIndentation:
Enabled: true
Layout/EmptyLinesAroundClassBody:
Enabled: true
Layout/EmptyLinesAroundModuleBody:
Enabled: true
Layout/EmptyLineAfterMagicComment:
Enabled: true
Layout/SpaceInsideBlockBraces:
Enabled: true
EnforcedStyle: no_space
SpaceBeforeBlockParameters: false
Layout/SpaceAroundBlockParameters:
Enabled: true
EnforcedStyleInsidePipes: no_space
Style/FrozenStringLiteralComment:
Enabled: true
Style/StringLiterals:
Enabled: true
EnforcedStyle: double_quotes