build: 引入 ESLint 防回潮基建 + 清理存量未使用 import
This commit is contained in:
@@ -108,7 +108,7 @@ export interface ComplianceCheck {
|
||||
}
|
||||
|
||||
function findJsonSlice(raw: string): string {
|
||||
const start = raw.search(/[\[{]/);
|
||||
const start = raw.search(/[{[]/);
|
||||
if (start < 0) return raw;
|
||||
|
||||
const stack: string[] = [];
|
||||
|
||||
Reference in New Issue
Block a user