binhong87_obsidian-note-agent/package.json
Bin-Home 32b76c6d88 chore: fix all ObsidianReviewBot lint errors, bump to v0.3.3
Resolves all Required issues flagged by the Obsidian community plugin
review bot:

- Replace explicit `any` types with typed interfaces and intersection
  types across providers, tools, UI components, and services
- Remove `async` from functions/methods with no `await`; return
  Promise.resolve() where the interface demands Promise<string>
- Replace `fetch` bare global with `window.fetch` and remove
  eslint-disable comments for no-restricted-globals
- Replace `globalThis.fetch` with `window.fetch` (prefer-active-doc)
- Replace string literal style assignments with template literals to
  satisfy no-static-styles-assignment; remove disable comments
- Fix sentence case: "Apply all" / "Reject all" in en.json
- Change default chats folder migration to use regex instead of
  hardcoded .obsidian/ path literal (hardcoded-config-path)
- Remove unnecessary type assertion in migrateSettings
- Remove await from non-Promise listFolder call (await-thenable)
- Add argsIgnorePattern to no-unused-vars in eslint.config.mjs

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
2026-04-30 10:29:12 +08:00

37 lines
924 B
JSON

{
"name": "smart-note-agent",
"version": "0.3.3",
"main": "index.js",
"directories": {
"doc": "docs"
},
"scripts": {
"dev": "node esbuild.config.mjs",
"build": "tsc --noEmit && node esbuild.config.mjs production",
"lint": "eslint src/",
"test": "vitest run --passWithNoTests",
"test:watch": "vitest"
},
"keywords": [],
"author": "",
"license": "ISC",
"description": "",
"devDependencies": {
"@eslint/js": "^9.39.4",
"@tsconfig/svelte": "^5.0.8",
"@types/node": "^20.19.39",
"esbuild": "^0.20.2",
"esbuild-svelte": "^0.8.2",
"eslint": "^9.39.4",
"eslint-plugin-obsidianmd": "^0.2.8",
"eslint-plugin-svelte": "^2.46.1",
"obsidian": "^1.12.3",
"prettier": "^3.8.3",
"svelte": "^4.2.20",
"svelte-preprocess": "^5.1.4",
"tslib": "^2.8.1",
"typescript": "5.4",
"typescript-eslint": "^8.59.1",
"vitest": "^1.6.1"
}
}