Skip to content

Commit c58d95f

Browse files
committed
fixes linting errors
1 parent c08a550 commit c58d95f

File tree

3 files changed

+32
-27
lines changed

3 files changed

+32
-27
lines changed

pnpm-lock.yaml

Lines changed: 28 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

testsuite/src/setupTex.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ import {mathjax} from '#js/mathjax.js';
1313
import {OptionList} from '#js/util/Options.js';
1414
import {tmpJsonFile} from '#src/constants.js';
1515
import * as fs from 'fs';
16+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
1617
// @ts-ignore
1718
import {init} from '#source/node-main/node-main.mjs';
1819
import {expect} from '@jest/globals';
20+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
1921
// @ts-ignore
2022
import {source} from '#source/source.js';
2123

ts/input/tex/unicode/UnicodeConfiguration.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ const UnicodeMethods: { [key: string]: ParseMethod } = {
134134
let c = '';
135135
const text = parser.string.substring(parser.i);
136136
if (next === "'") {
137+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
137138
// @ts-ignore
138139
match = text.match(/^'([0-7]{1,7}) ?/u);
139140
if (match) {
@@ -145,6 +146,7 @@ const UnicodeMethods: { [key: string]: ParseMethod } = {
145146
c = String.fromCodePoint(parseInt(match[1], 16));
146147
}
147148
} else if (next === '`') {
149+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
148150
// @ts-ignore
149151
match = text.match(/^`(?:(\\\S)|(.))/u);
150152
if (match) {

0 commit comments

Comments
 (0)