Skip to content

Commit cf793c2

Browse files
committed
fix(apps, editors, napi): fix oxlint-disable comments
1 parent a3bb641 commit cf793c2

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

apps/oxlint/src-js/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ export function defineRule(rule: Rule): Rule {
136136
// and methods on another object which is its prototype.
137137
defineProperty(context, 'id', { value: eslintContext.id });
138138
defineProperty(context, 'options', { value: eslintContext.options });
139-
// oxlint-disable-next-line typescript/unbound-method
140139
defineProperty(context, 'report', { value: eslintContext.report });
141140
setPrototypeOf(context, getPrototypeOf(eslintContext));
142141

editors/vscode/tests/test-helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export async function writeToFixtureFile(file: string, content: string, workspac
122122
// oxlint-disable eslint/no-await-in-loop -- simulate key presses
123123
await commands.executeCommand('type', { text: char });
124124
await sleep(50);
125-
// oxlint-enable
125+
// oxlint-enable eslint/no-await-in-loop
126126
}
127127
}
128128

napi/parser/test/typescript-make-units-from-test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ function getErrorFiles(filePath, options) {
126126
* @param {string} code - Content of the test file
127127
* @returns {Object} TestCaseContent object
128128
*/
129-
// oxlint-disable-next-line jest/no-export
130129
export function makeUnitsFromTest(filePath, code) {
131130
const currentFileOptions = new Map();
132131
let currentFileName = null;

0 commit comments

Comments
 (0)