Skip to content

Commit

Permalink
Add support for suppressedMessages now used by ESLint
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jun 11, 2022
1 parent 3c856c4 commit 51e76dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ export function toESLint(vfiles) {
warningCount: stats.nonfatal,
fixableErrorCount: 0,
fixableWarningCount: 0,
usedDeprecatedRules: []
usedDeprecatedRules: [],
suppressedMessages: []
}
})
}
3 changes: 2 additions & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ test('toESLint', (t) => {
warningCount: 2,
fixableErrorCount: 0,
fixableWarningCount: 0,
usedDeprecatedRules: []
usedDeprecatedRules: [],
suppressedMessages: []
}
])

Expand Down

0 comments on commit 51e76dd

Please sign in to comment.