Address new violations of @stylistic/no-extra-parens.

This commit is contained in:
David Anson 2024-10-06 21:03:07 -07:00
parent 4f6b17934a
commit 61a9c2427e
5 changed files with 7 additions and 7 deletions

View file

@ -13,7 +13,7 @@ module.exports = {
"asynchronous": true,
"function": (params, onError) => {
const fences = params.parsers.markdownit.tokens
.filter(((token) => token.type === "fence"));
.filter((token) => token.type === "fence");
for (const fence of fences) {
if (/jsonc?/i.test(fence.info)) {
const errors = [];