mirror of
https://github.com/dev-sec/linux-baseline
synced 2024-11-26 13:00:21 +00:00
4dddfaa89a
* update code to conform to new linting rules Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com> * disable unneeded linting rule Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>
32 lines
605 B
YAML
32 lines
605 B
YAML
---
|
|
AllCops:
|
|
Exclude:
|
|
- vendor/**/*
|
|
Documentation:
|
|
Enabled: false
|
|
ParameterAlignment:
|
|
Enabled: true
|
|
HashSyntax:
|
|
Enabled: true
|
|
LineLength:
|
|
Enabled: false
|
|
EmptyLinesAroundBlockBody:
|
|
Enabled: false
|
|
Style/IfUnlessModifier:
|
|
Enabled: false
|
|
MethodLength:
|
|
Max: 40
|
|
NumericLiterals:
|
|
MinDigits: 10
|
|
Metrics/BlockLength:
|
|
Max: 35
|
|
Metrics/CyclomaticComplexity:
|
|
Max: 10
|
|
Metrics/PerceivedComplexity:
|
|
Max: 10
|
|
Metrics/AbcSize:
|
|
Max: 30
|
|
# Lint/AmbiguousBlockAssociation is incompatible with RSpec
|
|
# https://github.com/rubocop-hq/rubocop/issues/4222
|
|
Lint/AmbiguousBlockAssociation:
|
|
Enabled: false
|