github.com/yankunsam/loki/v2@v2.6.3-0.20220817130409-389df5235c27/clients/cmd/fluentd/.rubocop.yml (about)

     1  require: rubocop-rspec
     2  
     3  AllCops:
     4    TargetRubyVersion: 2.7
     5    NewCops: disable
     6    Exclude:
     7      - 'bin/**'
     8      - 'test/**/*.rb'
     9  
    10  Metrics/BlockLength:
    11    Exclude:
    12      - 'Rakefile'
    13      - '**/*.rake'
    14      - 'spec/**/*.rb'
    15    Max: 60
    16  Metrics/MethodLength:
    17    Max: 50
    18  Layout/LineLength:
    19    Max: 120
    20  Metrics/ClassLength:
    21    Max: 150
    22  Metrics/AbcSize:
    23    Max: 35
    24  Style/GuardClause:
    25    Enabled: false
    26  RSpec/ExampleLength:
    27    Max: 100
    28  RSpec/MultipleExpectations:
    29    Max: 10
    30  Style/HashEachMethods:
    31    Enabled: true
    32  Style/HashTransformKeys:
    33    Enabled: true
    34  Style/HashTransformValues:
    35    Enabled: true