Address or whitelist reek issues

This commit is contained in:
Markus Schirp 2014-04-22 17:55:58 +00:00
parent 6eba9ea903
commit af64596ca9
2 changed files with 3 additions and 1 deletions

View file

@ -54,6 +54,7 @@ NestedIterators:
- Mutant::Reporter::CLI::Printer::Config::Runner#generic_stats
- Mutant::RequireHighjack#infect
- Mutant::RequireHighjack#desinfect
- Parser::Lexer#self.new
max_allowed_nesting: 1
ignore_iterators: []
NilCheck:
@ -126,7 +127,7 @@ UncommunicativeVariableName:
- !ruby/regexp /^.$/
- !ruby/regexp /[0-9]$/
- !ruby/regexp /[A-Z]/
accept: []
accept: ['force_utf32']
UnusedParameters:
enabled: true
exclude: []

View file

@ -1,6 +1,7 @@
module Mutant
class Mutator
class Node
# Emitter for perl style match current line node
class MatchCurrentLine < self
handle :match_current_line