diff options
Diffstat (limited to '.rubocop.yml')
| -rw-r--r-- | .rubocop.yml | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 2580860..3d38cdb 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -9,7 +9,7 @@ AllCops: - 'spec/fixtures/**/*' - 'tmp/**/*' - 'vendor/**/*' - TargetRubyVersion: 2.4 + TargetRubyVersion: 2.5 Layout/ClassStructure: Enabled: true @@ -30,10 +30,10 @@ Layout/ClassStructure: Layout/EndOfLine: EnforcedStyle: lf -Layout/IndentFirstArrayElement: +Layout/FirstArrayElementIndentation: EnforcedStyle: consistent -Layout/IndentHeredoc: +Layout/HeredocIndentation: EnforcedStyle: active_support Layout/MultilineOperationIndentation: @@ -47,6 +47,10 @@ Lint/InterpolationCheck: Exclude: - 'spec/**/*.rb' +Metrics/AbcSize: + Exclude: + - 'lib/xml/kit/self_signed_certificate.rb' + Metrics/BlockLength: Exclude: - '**/**/*.builder' @@ -87,9 +91,16 @@ Style/TrailingCommaInHashLiteral: RSpec/ExampleLength: Max: 80 +RSpec/LeakyConstantDeclaration: + Exclude: + - 'spec/xml/kit/templatable_spec.rb' + RSpec/MultipleExpectations: Enabled: false +RSpec/MultipleMemoizedHelpers: + Enabled: false + RSpec/NamedSubject: Enabled: false |
