refactor: update ESLint configuration and improve lint command with cache

This commit is contained in:
Tunglies
2025-09-18 23:13:13 +08:00
parent 324628dd3d
commit 74ade3ee41
3 changed files with 4 additions and 3 deletions

View File

@@ -24,7 +24,7 @@
"publish-version": "node scripts/publish-version.mjs",
"fmt": "cargo fmt --manifest-path ./src-tauri/Cargo.toml",
"clippy": "cargo clippy --manifest-path ./src-tauri/Cargo.toml",
"lint": "eslint src",
"lint": "eslint -c eslint.config.ts --cache src",
"format": "prettier --write .",
"format:check": "prettier --check ."
},