From 029b4a5f5486035e1b85700a13e96fd93942525b Mon Sep 17 00:00:00 2001 From: jsun969 Date: Thu, 31 Oct 2024 16:00:48 +1030 Subject: [PATCH] chore: fix lint and format check for workflow --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6d99ff1..a421b55 100644 --- a/package.json +++ b/package.json @@ -7,10 +7,10 @@ "prepare": "simple-git-hooks", "dev": "vite", "build": "tsc -b && vite build", - "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", + "lint": "eslint .", "preview": "vite preview", "format": "prettier --write \"**/*.{js,ts,tsx,css,md,cjs,mjs,json,html}\"", - "format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,css,json,mjs,cjs,yml,yaml}\"", + "format:check": "prettier --check \"**/*.{js,ts,tsx,css,md,cjs,mjs,json,html}\"", "test": "vitest" }, "dependencies": {