From a9e9320464b6447bea577271ff1f439deeb0bd35 Mon Sep 17 00:00:00 2001 From: Max Kasperowski Date: Tue, 23 Jul 2024 14:20:00 +0200 Subject: [PATCH] add lint-fix command to automatically fix linting issues --- keith-vscode/package.json | 1 + package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/keith-vscode/package.json b/keith-vscode/package.json index 2c9702b..d4e6a0d 100644 --- a/keith-vscode/package.json +++ b/keith-vscode/package.json @@ -636,6 +636,7 @@ "scripts": { "clean": "rimraf dist", "lint": "eslint .", + "lint-fix": "eslint --fix .", "build": "webpack --mode production", "watch": "webpack --watch", "package": "vsce package --yarn -o keith-vscode.vsix", diff --git a/package.json b/package.json index 5c77a80..4c776ee 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "scripts": { "clean": "lerna run clean --parallel", "lint": "lerna run lint --parallel", + "lint-fix": "lerna run lint-fix --parallel", "prebuild": "yarn clean", "build": "lerna run build", "watch": "lerna run watch --parallel",