fix: resolve lint errors for v0.2.0 release

- Remove unused 'error' import in addTask.ts
- Remove unused createLogger import in watchTasks.ts
- Remove unused isTaskFile import in runner.ts
This commit is contained in:
nrslib 2026-01-27 23:53:00 +09:00
parent 7323d6d288
commit 354e9c48a3
4 changed files with 4 additions and 7 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "takt", "name": "takt",
"version": "0.2.0", "version": "0.2.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "takt", "name": "takt",
"version": "0.2.0", "version": "0.2.1",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@anthropic-ai/claude-agent-sdk": "^0.2.19", "@anthropic-ai/claude-agent-sdk": "^0.2.19",

View File

@ -9,7 +9,7 @@ import * as fs from 'node:fs';
import * as path from 'node:path'; import * as path from 'node:path';
import { stringify as stringifyYaml } from 'yaml'; import { stringify as stringifyYaml } from 'yaml';
import { promptInput, confirm } from '../prompt/index.js'; import { promptInput, confirm } from '../prompt/index.js';
import { success, info, error } from '../utils/ui.js'; import { success, info } from '../utils/ui.js';
import { slugify } from '../utils/slug.js'; import { slugify } from '../utils/slug.js';
import { createLogger } from '../utils/debug.js'; import { createLogger } from '../utils/debug.js';
import type { TaskFileData } from '../task/schema.js'; import type { TaskFileData } from '../task/schema.js';

View File

@ -15,13 +15,10 @@ import {
success, success,
status, status,
} from '../utils/ui.js'; } from '../utils/ui.js';
import { createLogger } from '../utils/debug.js';
import { getErrorMessage } from '../utils/error.js'; import { getErrorMessage } from '../utils/error.js';
import { executeTask, resolveTaskExecution } from './taskExecution.js'; import { executeTask, resolveTaskExecution } from './taskExecution.js';
import { DEFAULT_WORKFLOW_NAME } from '../constants.js'; import { DEFAULT_WORKFLOW_NAME } from '../constants.js';
const log = createLogger('watch');
/** /**
* Watch for tasks and execute them as they appear. * Watch for tasks and execute them as they appear.
* Runs until Ctrl+C. * Runs until Ctrl+C.

View File

@ -15,7 +15,7 @@
import * as fs from 'node:fs'; import * as fs from 'node:fs';
import * as path from 'node:path'; import * as path from 'node:path';
import { parseTaskFiles, parseTaskFile, isTaskFile, type ParsedTask } from './parser.js'; import { parseTaskFiles, parseTaskFile, type ParsedTask } from './parser.js';
import type { TaskFileData } from './schema.js'; import type { TaskFileData } from './schema.js';
/** タスク情報 */ /** タスク情報 */