debian-mirror-gitlab/debian/gems-compat/gitlab-labkit-0.2.0/.rubocop.yml
2019-08-03 15:15:18 +05:30

173 lines
2.4 KiB
YAML

AllCops:
TargetRubyVersion: 2.4
require:
- rubocop-rspec
Style/HashSyntax:
EnforcedStyle: no_mixed_keys
Style/SymbolLiteral:
Enabled: No
Style/TrailingCommaInArguments:
Enabled: No # Delegated to rufo
Style/TrailingCommaInHashLiteral:
Enabled: No # Delegated to rufo
Style/FrozenStringLiteralComment:
EnforcedStyle: always
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/StringLiteralsInInterpolation:
EnforcedStyle: double_quotes
Layout/MultilineMethodCallIndentation:
Enabled: No
Layout/SpaceInLambdaLiteral:
Enabled: No
Layout/SpaceInsideBlockBraces:
Enabled: No
Layout/FirstParameterIndentation:
Enabled: No
Metrics/AbcSize:
Enabled: true
Max: 54.28
Metrics/BlockLength:
Enabled: false
Metrics/BlockNesting:
Enabled: true
Max: 4
Metrics/ClassLength:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: true
Max: 13
Metrics/LineLength:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/ModuleLength:
Enabled: false
Metrics/ParameterLists:
Enabled: true
Max: 8
Metrics/PerceivedComplexity:
Enabled: true
Max: 14
RSpec/AnyInstance:
Enabled: false
RSpec/BeEql:
Enabled: true
RSpec/BeforeAfterAll:
Enabled: false
RSpec/DescribeClass:
Enabled: false
RSpec/DescribeMethod:
Enabled: false
RSpec/DescribeSymbol:
Enabled: true
RSpec/DescribedClass:
Enabled: true
RSpec/EmptyExampleGroup:
Enabled: true
RSpec/ExampleLength:
Enabled: false
Max: 5
RSpec/ExampleWording:
Enabled: false
CustomTransform:
be: is
have: has
not: does not
IgnoredWords: []
RSpec/ExpectActual:
Enabled: true
RSpec/ExpectOutput:
Enabled: true
RSpec/FilePath:
Enabled: true
IgnoreMethods: true
RSpec/Focus:
Enabled: true
RSpec/HookArgument:
Enabled: true
EnforcedStyle: implicit
RSpec/ImplicitExpect:
Enabled: true
EnforcedStyle: is_expected
RSpec/InstanceVariable:
Enabled: false
RSpec/LeadingSubject:
Enabled: false
RSpec/LetSetup:
Enabled: false
RSpec/MessageChain:
Enabled: false
RSpec/MessageSpies:
Enabled: false
RSpec/MultipleDescribes:
Enabled: false
RSpec/MultipleExpectations:
Enabled: false
RSpec/NamedSubject:
Enabled: false
RSpec/NestedGroups:
Enabled: false
RSpec/NotToNot:
EnforcedStyle: not_to
Enabled: true
RSpec/RepeatedDescription:
Enabled: false
RSpec/SubjectStub:
Enabled: false
RSpec/VerifiedDoubles:
Enabled: false