From ce19a3b4454c3bfe3c5054543deedba7f482ae4d Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Wed, 11 Jan 2023 02:06:16 +0100 Subject: [PATCH] chore: add lint:fix script for fixing lint errors (#1493) * chore: Add fmt command for fixing lint errors * rename to lint:fix --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 79e84cc7..9926d569 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "prepare": "cordova-js build > templates/project/assets/www/cordova.js", "test": "npm run lint && npm run cover && npm run java-unit-tests", "lint": "eslint lib spec test \"templates/cordova/**/!(*.*)\"", + "lint:fix": "npm run lint -- --fix", "unit-tests": "jasmine --config=spec/unit/jasmine.json", "cover": "nyc jasmine --config=spec/coverage.json", "e2e-tests": "jasmine --config=spec/e2e/jasmine.json",