فهرست منبع

fix: resolve npm run lint command issue

- Replace next lint with direct eslint command in package.json
- Fixes 'Invalid project directory' error with Next.js lint command
Fszontagh 3 ماه پیش
والد
کامیت
10cb94566d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      webui/package.json

+ 1 - 1
webui/package.json

@@ -8,7 +8,7 @@
     "build-static": "next build && npm run copy-to-build",
     "copy-to-build": "cp -r out/* ../../build/webui/",
     "start": "next start",
-    "lint": "next lint"
+    "lint": "eslint . --ext .ts,.tsx,.js,.jsx"
   },
   "dependencies": {
     "@radix-ui/react-select": "^2.2.6",