chore: [ENG-LINT-02] restore clean repository lint

This commit is contained in:
Harvey Zhao committed 2026-09-15 05:30:05 +08:00
1 parent d2f4261aa7
commit 7cf6f33130
9 files changed
+130 -13

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ export function asGlobalDeclaration(code: string, globalName: string) {
factory.createNamespaceExportDeclaration(factory.createIdentifier(globalName)),
]
const printer = ts.createPrinter({ newLine: ts.NewLineKind.LineFeed })
return `// Generated from packages/artplayer/public/artplayer.ts by yarn build:ts. Do not edit.\n/* eslint-disable ts/no-redeclare, ts/no-namespace -- UMD constructor and named types share the global export. */\n${printer.printFile(factory.updateSourceFile(source, statements))}`
return `// Generated from packages/artplayer/public/artplayer.ts by yarn build:ts. Do not edit.\n/* eslint-disable ts/no-redeclare -- UMD constructor and named types share the global export. */\n${printer.printFile(factory.updateSourceFile(source, statements))}`
}
export function generateCoreEditorDeclaration() {