From 0f9224a4ef868dcc0370cf99a825a7d2937c786b Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Tue, 25 Jul 2023 17:26:12 +0200 Subject: [PATCH] Add lint-fix script to auto fix linter errors --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 0d1e6e83..e5f81591 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "fast-cover": "FAST_TEST=y nyc pnpm test", "ci-cover": "nyc --reporter=lcovonly pnpm run-script test", "lint": "eslint \"*.js\" packages plugins test", + "lint-fix": "eslint --fix \"*.js\" packages plugins test", "docs": "jsdoc --configure docs/jsdoc.json", "bundle-dependencies": "bundle-dependencies" },