mirror of
https://github.com/jung-geun/NFD2NFC.git
synced 2026-08-05 08:14:04 +09:00
fix: typecheck/lint 오류 수정
tsconfig.json: module ESNext로 변경, renderer 제외. .eslintrc.cjs: varsIgnorePattern '^_' 추가. store.ts: notificationIntervalSecs 기본값(30) 추가. src/lib/index.ts: FilterOptions/ScanEntry를 올바른 소스 파일에서 import. scanner.ts: 미사용 fs import 제거. ipc.ts: 미사용 nanoid import 제거. cli/index.ts: 미사용 argv 변수 void 처리, showHelp() → 메시지 출력으로 대체. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -6,7 +6,7 @@ import { scan } from '../core/scanner';
|
||||
import { normalizeEntry } from '../core/normalizer';
|
||||
import type { RenameResult } from '../core/types';
|
||||
|
||||
const argv = yargs(hideBin(process.argv))
|
||||
void yargs(hideBin(process.argv))
|
||||
.usage('Usage: $0 <command|path> [options]')
|
||||
.command(
|
||||
'file <path>',
|
||||
@@ -34,7 +34,7 @@ const argv = yargs(hideBin(process.argv))
|
||||
.option('dry-run', { alias: 'n', describe: '실제 변환 없이 대상만 출력', type: 'boolean', default: false }),
|
||||
async (args) => {
|
||||
if (!args.path) {
|
||||
yargs.showHelp();
|
||||
console.error('경로를 지정해주세요. nfd2nfc --help 로 도움말을 확인하세요.');
|
||||
process.exit(1);
|
||||
}
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user