chore(lint): drop unused imports flagged at HEAD
eslint was red at HEAD (5b715ac) in files untouched by this branch: unused statSync/dirname (check-plugin-api.mjs), unused PrefsSchema (src/index.ts, tests/smoke.spec.ts) and two Function types (tests/smoke.spec.ts). No behaviour change.
This commit is contained in:
@@ -16,8 +16,8 @@
|
||||
* node check-plugin-api.mjs [repoDir] [--app "/Applications/DSH Desktop.app"]
|
||||
* 退出码:0 = 通过;1 = 发现问题(可接进 CI / build 前置)
|
||||
*/
|
||||
import { readFileSync, readdirSync, statSync, existsSync } from 'node:fs'
|
||||
import { join, relative, dirname } from 'node:path'
|
||||
import { readFileSync, readdirSync, existsSync } from 'node:fs'
|
||||
import { join, relative } from 'node:path'
|
||||
|
||||
const args = process.argv.slice(2)
|
||||
const repoArg = args.find(a => !a.startsWith('--'))
|
||||
|
||||
Reference in New Issue
Block a user