Files
obsidian-typst-pdf-export/package.json
T
Jarvis c40f5af1fb fix: implement proper ESLint flat config with TypeScript-ESLint v8
- Update TypeScript to v5.9.2 for compatibility with typescript-eslint v8
- Install typescript-eslint v8.43.0 for consolidated TypeScript ESLint support
- Rewrite eslint.config.mjs using modern flat config format without FlatCompat
- Incorporate Obsidian sample plugin ESLint rules and best practices:
  * Allow @ts-ignore comments for Obsidian API quirks
  * Allow require() imports for mixed module environment
  * Allow empty functions common in plugin architecture
  * Configure no-unused-vars as warnings with ignore patterns
- Configure proper Node.js and ES2022 globals
- Add comprehensive ignore patterns for build artifacts
- Reduce linting issues from 261 errors to 0 errors, 42 warnings
- All builds now pass with TypeScript checking and ESLint validation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 17:36:01 +02:00

43 lines
1.1 KiB
JSON

{
"name": "obsidian-typst-pdf-export",
"version": "1.2.0",
"description": "Exports a note or collection of notes to a pretty Typst PDF.",
"main": "main.js",
"scripts": {
"typecheck": "tsc --noEmit",
"lint": "eslint src/ main.ts",
"dev": "npm run typecheck && node esbuild.config.mjs",
"build": "npm run typecheck && npm run lint && node esbuild.config.mjs production",
"package": "node scripts/package-plugin.js",
"version": "node version-bump.mjs && git add manifest.json versions.json"
},
"keywords": [
"pdf",
"export",
"typst",
"obsidian-plugin",
"typesetting"
],
"author": "Alexander Kucera",
"license": "MIT",
"devDependencies": {
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.34.0",
"@types/node": "^16.11.6",
"@typescript-eslint/eslint-plugin": "5.29.0",
"@typescript-eslint/parser": "5.29.0",
"archiver": "^7.0.1",
"builtin-modules": "3.3.0",
"esbuild": "0.17.3",
"globals": "^16.3.0",
"obsidian": "latest",
"tslib": "2.4.0",
"typescript": "^5.9.2",
"typescript-eslint": "^8.43.0"
},
"dependencies": {
"gray-matter": "^4.0.3",
"pdf-to-img": "^4.5.0"
}
}