build: add obsidian eslint

This commit is contained in:
Moy 2025-11-05 17:08:41 +08:00
parent d716806092
commit 2278508ed6
2 changed files with 3244 additions and 116 deletions

3352
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -10,7 +10,9 @@
"copy-to-vault": "node scripts/copy-to-vault.mjs",
"version": "node scripts/version-bump-new.mjs && git add manifest.json versions.json",
"release": "node scripts/release-tag.mjs",
"bump": "node scripts/bump.mjs"
"bump": "node scripts/bump.mjs",
"lint": "eslint src/ --ext .ts",
"lint:fix": "eslint src/ --ext .ts --fix"
},
"keywords": [],
"author": "",
@ -21,9 +23,11 @@
"@typescript-eslint/parser": "5.29.0",
"builtin-modules": "3.3.0",
"esbuild": "0.17.3",
"eslint": "^8.57.1",
"eslint-plugin-obsidianmd": "^0.1.8",
"obsidian": "latest",
"tslib": "2.4.0",
"typescript": "4.7.4"
"typescript": "^5.6.3"
},
"dependencies": {
"dotenv": "^16.4.7"