From d61bf8de928657f7f9dd67c71fe091fb9233e78e Mon Sep 17 00:00:00 2001 From: "anthony.bellancourt" Date: Mon, 1 Jul 2024 22:05:27 +0200 Subject: [PATCH] Add separate lint and lint:fix scripts A new script 'lint:fix' has been created for linting and auto-fixing, while the existing 'lint' script will now only perform linting checks. This separation allows for clearer understanding and more control over the linting process. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 45220b2..a2cf2cf 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,8 @@ "build": "vite build", "dev": "vite build --watch", "test": "vitest", - "lint": "eslint src --fix", + "lint": "eslint src", + "lint:fix": "eslint src --fix", "release": "dotenv release-it --" }, "devDependencies": {