Skip to content

Commit 9a908d9

Browse files
committed
Update xo to v1.2.3
1 parent 79b0caa commit 9a908d9

File tree

6 files changed

+1551
-1898
lines changed

6 files changed

+1551
-1898
lines changed

lib/processErrorMessages.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,9 @@ function processErrorMessages(errors, config) {
3030
// A match should return false, which causes every() to return false and
3131
// the message to be filtered out.
3232
return messages.filter(({ message }) => {
33-
return ignore.every(
34-
currentValue => currentValue instanceof RegExp ?
35-
!currentValue.test(message) :
36-
normalizeQuotationMarks(currentValue) !== normalizeQuotationMarks(message)
37-
);
33+
return ignore.every(currentValue => currentValue instanceof RegExp ?
34+
!currentValue.test(message) :
35+
normalizeQuotationMarks(currentValue) !== normalizeQuotationMarks(message));
3836
});
3937
}
4038

0 commit comments

Comments
 (0)