Sha256: fea75e035c213f9d082332100d2bc72daef98da6b1266d65db9b2a61fd1e4545

Contents?: true

Size: 1.51 KB

Versions: 3

Compression:

Stored size: 1.51 KB

Contents

# default config: https://github.com/troessner/reek/blob/master/docs/defaults.reek.yml
# detectors' docs: https://github.com/troessner/reek/tree/master/docs
---
exclude_paths:
  - 'bin/'
  - 'spec/'

detectors:
  LongParameterList:
    enabled: true
    exclude: []
    max_params: 4 # +1 to default value
    overrides:
      initialize:
        max_params: 6 # +1 to default value
  ModuleInitialize:
    enabled: false
  TooManyInstanceVariables:
    enabled: true
    exclude: []
    max_instance_variables: 5 # +1 to default value
  DataClump:
    exclude:
      - Flows::Result::Helpers
      - Flows::SharedContextPipeline::DSL::Tracks
  IrresponsibleModule:
    exclude:
      - Flows::SharedContextPipeline
  FeatureEnvy:
    exclude:
      - Flows::SharedContextPipeline#call
      - Flows::Contract # too many false positives here
      - Flows::Plugin::Profiler::Report#events
  TooManyStatements:
    exclude:
      - Flows::SharedContextPipeline#call
      - Flows::Plugin::Profiler::Wrapper#make_instance_wrapper
      - Flows::Plugin::Profiler::Wrapper#make_singleton_wrapper
      - initialize
  DuplicateMethodCall:
    exclude:
      - Flows::SharedContextPipeline#call
      - Flows::Plugin::Profiler::Wrapper#make_instance_wrapper
      - Flows::Plugin::Profiler::Wrapper#make_singleton_wrapper
      - 'length'
  MissingSafeMethod:
    exclude:
      - Flows::Contract
  BooleanParameter:
    exclude:
      - Flows::Plugin::OutputContract::DSL
  TooManyMethods:
    exclude:
      - Flows::Plugin::Profiler::Report::Tree::Node

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flows-0.6.0 .reek.yml
flows-0.5.1 .reek.yml
flows-0.5.0 .reek.yml