You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by jc...@apache.org on 2022/09/19 23:15:59 UTC

[cordova-android] 01/01: chore: Add fmt command for fixing lint errors

This is an automated email from the ASF dual-hosted git repository.

jcesarmobile pushed a commit to branch fmt
in repository https://gitbox.apache.org/repos/asf/cordova-android.git

commit 249dd47765fd5dfc032ae3c49cd9e083f0a8d33b
Author: jcesarmobile <jc...@gmail.com>
AuthorDate: Tue Sep 20 01:15:44 2022 +0200

    chore: Add fmt command for fixing lint errors
---
 package.json | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package.json b/package.json
index 79e84cc7..f1521344 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/**/!(*.*)\"",
+    "fmt": "eslint lib spec test \"templates/cordova/**/!(*.*)\" --fix",
     "unit-tests": "jasmine --config=spec/unit/jasmine.json",
     "cover": "nyc jasmine --config=spec/coverage.json",
     "e2e-tests": "jasmine --config=spec/e2e/jasmine.json",


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org