Add @stylistic/eslint-plugin to ESLint configuration.

This commit is contained in:
David Anson 2024-09-01 16:16:05 -07:00
parent fe02674ce0
commit 164bbac651
21 changed files with 103 additions and 78 deletions

View file

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