Adjust reek config
This commit is contained in:
parent
0a28dad007
commit
cf37d6d8a6
1 changed files with 7 additions and 4 deletions
|
@ -43,7 +43,8 @@ DataClump:
|
||||||
DuplicateMethodCall:
|
DuplicateMethodCall:
|
||||||
enabled: true
|
enabled: true
|
||||||
exclude:
|
exclude:
|
||||||
- Mutant::Runner#initializ # Time.new
|
- Mutant::Runner#initialize # Time.new
|
||||||
|
- Mutant::CLI#parse
|
||||||
- Mutant::CLI::Classifier::Method#method
|
- Mutant::CLI::Classifier::Method#method
|
||||||
- Mutant::Killer#run_with_benchmark
|
- Mutant::Killer#run_with_benchmark
|
||||||
- Mutant::Mutator::Node::FormalArguments19::DefaultMutations#dispatch
|
- Mutant::Mutator::Node::FormalArguments19::DefaultMutations#dispatch
|
||||||
|
@ -69,6 +70,7 @@ FeatureEnvy:
|
||||||
- Mutant::Mutator::Node::PatternArguments#allow?
|
- Mutant::Mutator::Node::PatternArguments#allow?
|
||||||
- Mutant::Reporter::CLI#subject_results
|
- Mutant::Reporter::CLI#subject_results
|
||||||
- Mutant::Matcher::Methods#candidate_names
|
- Mutant::Matcher::Methods#candidate_names
|
||||||
|
- Mutant::CLI#parse
|
||||||
IrresponsibleModule:
|
IrresponsibleModule:
|
||||||
enabled: true
|
enabled: true
|
||||||
exclude:
|
exclude:
|
||||||
|
@ -93,11 +95,12 @@ LongYieldList:
|
||||||
NestedIterators:
|
NestedIterators:
|
||||||
enabled: true
|
enabled: true
|
||||||
exclude:
|
exclude:
|
||||||
- Mutant#self.define_singleton_subclass
|
- Mutant#self.singleton_subclass_instance
|
||||||
- Mutant::Mutator::Node::FormalArguments19::PatternArgumentExpansion#dispatch
|
- Mutant::Mutator::Node::FormalArguments19::PatternArgumentExpansion#dispatch
|
||||||
- Mutant::Mutator::Node::FormalArguments19::RequireDefaults#dispatch
|
- Mutant::Mutator::Node::FormalArguments19::RequireDefaults#dispatch
|
||||||
- Mutant::Mutator::Node::ReceiverCase#emit_when_branch_mutations
|
- Mutant::Mutator::Node::ReceiverCase#emit_when_branch_mutations
|
||||||
- Mutant::Mutator::Util::Array::Element#dispatch
|
- Mutant::Mutator::Util::Array::Element#dispatch
|
||||||
|
- Mutant::CLI#parse
|
||||||
max_allowed_nesting: 1
|
max_allowed_nesting: 1
|
||||||
ignore_iterators: []
|
ignore_iterators: []
|
||||||
NilCheck:
|
NilCheck:
|
||||||
|
@ -125,7 +128,7 @@ TooManyMethods:
|
||||||
TooManyStatements:
|
TooManyStatements:
|
||||||
enabled: true
|
enabled: true
|
||||||
exclude:
|
exclude:
|
||||||
- Mutant#self.define_singleton_subclass
|
- Mutant#self.singleton_subclass_instance
|
||||||
- Mutant::CLI#self.run
|
- Mutant::CLI#self.run
|
||||||
- Mutant::Differ#diff
|
- Mutant::Differ#diff
|
||||||
- Mutant::Killer::Forked#run
|
- Mutant::Killer::Forked#run
|
||||||
|
@ -139,7 +142,7 @@ TooManyStatements:
|
||||||
- Mutant::Reporter::CLI#start
|
- Mutant::Reporter::CLI#start
|
||||||
- Mutant::Reporter::CLI#config_results
|
- Mutant::Reporter::CLI#config_results
|
||||||
- Mutant::Reporter::CLI#subject_results
|
- Mutant::Reporter::CLI#subject_results
|
||||||
- each
|
- Mutant::CLI#parse
|
||||||
max_statements: 5
|
max_statements: 5
|
||||||
UncommunicativeMethodName:
|
UncommunicativeMethodName:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
Loading…
Reference in a new issue