chore: add lint:fix script for fixing lint errors (#1493)

* chore: Add fmt command for fixing lint errors
* rename to lint:fix
This commit is contained in:
jcesarmobile
2023-01-11 02:06:16 +01:00
committed by GitHub
parent d02f8eafe8
commit ce19a3b445
+1
View File
@@ -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",