Skip to content

Commit 22c0983

Browse files
Alessandro BiancoAlessandro Bianco
authored andcommitted
[FIXES #27] Made ListenerName check suppressible
1 parent 2c6c736 commit 22c0983

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

checkstyle/checks/ListenerNameCheck.hx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class ListenerNameCheck extends Check {
2222

2323
override public function actualRun() {
2424
ExprUtils.walkFile(checker.ast, function(e) {
25+
if (isPosSuppressed(e.pos)) return;
2526
switch(e.expr){
2627
case ECall(e, params):
2728
searchCall(e, params);

0 commit comments

Comments
 (0)