Skip to content

Commit 904535f

Browse files
committed
Fix lint
1 parent dac0218 commit 904535f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/compiler/checker.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -52857,7 +52857,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
5285752857
function sortSymbolsIfTSGoCompat(array: Symbol[] | undefined): Symbol[] | undefined;
5285852858
function sortSymbolsIfTSGoCompat(array: Symbol[] | undefined): Symbol[] | undefined {
5285952859
if (__TSGO_COMPAT__ && array) {
52860-
return array.sort(compareSymbols);
52860+
return array.sort(compareSymbols); // eslint-disable-line local/no-array-mutating-method-expressions
5286152861
}
5286252862
return array;
5286352863
}

src/compiler/corePublic.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const versionMajorMinor = "5.7";
66
export const version: string = `${versionMajorMinor}.0-dev`;
77

88
declare global {
9-
var __TSGO_COMPAT__: boolean | undefined;
9+
var __TSGO_COMPAT__: boolean | undefined; // eslint-disable-line no-var, @typescript-eslint/naming-convention
1010
}
1111

1212
globalThis.__TSGO_COMPAT__ ??= false;

0 commit comments

Comments
 (0)