mirror of
https://github.com/epistemic-technology/co-intelligence.git
synced 2026-07-22 06:45:17 +00:00
Address all Required and Optional lint violations flagged by the eslint-plugin-obsidianmd automated review: - Fix `any` types (ChatView.dispose, monkey patch typing) - Remove unnecessary async/await from non-async functions - Add `void` operator for intentionally unhandled promises - Fix promise-returning callbacks where void expected - Use String() in template literals for error objects - Fix sentence case in UI text (Notice, setName, setDesc, setTitle) - Replace console.log with console.error - Remove unused imports and variables - Remove unnecessary type assertions and escape characters - Simplify union type override in onPaneMenu - Add eslint-plugin-obsidianmd and ESLint config for local validation Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
{
|
|
"name": "co-intelligence",
|
|
"version": "0.0.1",
|
|
"description": "Obsidian plugin for interacting with AI tools",
|
|
"main": "index.ts",
|
|
"scripts": {
|
|
"dev": "vite build --watch",
|
|
"build": "vite build",
|
|
"test": "vitest",
|
|
"test:ui": "vitest --ui",
|
|
"test:run": "vitest run",
|
|
"test:coverage": "vitest run --coverage"
|
|
},
|
|
"author": "Epistemic Technology",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@ai-sdk/anthropic": "^3.0.37",
|
|
"@ai-sdk/google": "^3.0.21",
|
|
"@ai-sdk/openai": "^3.0.25",
|
|
"@ai-sdk/perplexity": "^3.0.17",
|
|
"ai": "^6.0.73",
|
|
"monkey-around": "^2.3.0",
|
|
"solid-js": "^1.9.11",
|
|
"zod": "^3.25.76"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"vitest>vite": "^6.4.1"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@solidjs/testing-library": "^0.8.10",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@types/node": "^22.15.24",
|
|
"@vitest/coverage-v8": "^4.0.18",
|
|
"@vitest/ui": "^4.0.18",
|
|
"esbuild": "^0.25.5",
|
|
"eslint": "^9.39.2",
|
|
"eslint-plugin-obsidianmd": "^0.1.9",
|
|
"jsdom": "^26.1.0",
|
|
"obsidian": "^1.8.7",
|
|
"postcss": "^8.5.4",
|
|
"typescript": "^5.8.3",
|
|
"typescript-eslint": "^8.55.0",
|
|
"vite": "^7.3.1",
|
|
"vite-plugin-solid": "^2.11.10",
|
|
"vite-plugin-static-copy": "^3.2.0",
|
|
"vitest": "^4.0.18"
|
|
}
|
|
}
|