diff --git a/index.js b/index.js index 08469ab..743727a 100644 --- a/index.js +++ b/index.js @@ -149,7 +149,10 @@ function messageControl(options) { var result = known ? known.indexOf(ruleId) !== -1 : true if (!result) { - file.warn('Unknown rule: cannot ' + verb + " `'" + ruleId + "'`", pos) + file.message( + 'Unknown rule: cannot ' + verb + " `'" + ruleId + "'`", + pos + ) } return result