Address or whitelist reek issues
This commit is contained in:
parent
6eba9ea903
commit
af64596ca9
2 changed files with 3 additions and 1 deletions
|
@ -54,6 +54,7 @@ NestedIterators:
|
||||||
- Mutant::Reporter::CLI::Printer::Config::Runner#generic_stats
|
- Mutant::Reporter::CLI::Printer::Config::Runner#generic_stats
|
||||||
- Mutant::RequireHighjack#infect
|
- Mutant::RequireHighjack#infect
|
||||||
- Mutant::RequireHighjack#desinfect
|
- Mutant::RequireHighjack#desinfect
|
||||||
|
- Parser::Lexer#self.new
|
||||||
max_allowed_nesting: 1
|
max_allowed_nesting: 1
|
||||||
ignore_iterators: []
|
ignore_iterators: []
|
||||||
NilCheck:
|
NilCheck:
|
||||||
|
@ -126,7 +127,7 @@ UncommunicativeVariableName:
|
||||||
- !ruby/regexp /^.$/
|
- !ruby/regexp /^.$/
|
||||||
- !ruby/regexp /[0-9]$/
|
- !ruby/regexp /[0-9]$/
|
||||||
- !ruby/regexp /[A-Z]/
|
- !ruby/regexp /[A-Z]/
|
||||||
accept: []
|
accept: ['force_utf32']
|
||||||
UnusedParameters:
|
UnusedParameters:
|
||||||
enabled: true
|
enabled: true
|
||||||
exclude: []
|
exclude: []
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
module Mutant
|
module Mutant
|
||||||
class Mutator
|
class Mutator
|
||||||
class Node
|
class Node
|
||||||
|
# Emitter for perl style match current line node
|
||||||
class MatchCurrentLine < self
|
class MatchCurrentLine < self
|
||||||
|
|
||||||
handle :match_current_line
|
handle :match_current_line
|
||||||
|
|
Loading…
Reference in a new issue