Browse Source

更新 `lint` 脚本移除对 `.ts` 文件的支持

移除了 `package.json` 中 `lint` 脚本对 TypeScript 文件(`.ts`)的支持,保持与其他脚本一致。这一改动确保了代码检查仅针对 JavaScript 文件进行。
SongZihuan 3 months ago
parent
commit
a9b05d2a43
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -26,7 +26,7 @@
   },
   "scripts": {
     "init": "npx pnpm install",
-    "lint": "eslint --ext .js,.mjs,.cjs,.ts --fix .",
+    "lint": "eslint --ext .js,.mjs,.cjs --fix .",
     "lint:debug": "eslint --ext .js,.mjs,.cjs --debug --fix .",
     "dev": "npx webpack server --config webpack_config_dev.js",
     "build:dev": "npx webpack --config webpack_config_dev.js",