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:58 UTC

[cordova-android] branch fmt created (now 249dd477)

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

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


      at 249dd477 chore: Add fmt command for fixing lint errors

This branch includes the following new commits:

     new 249dd477 chore: Add fmt command for fixing lint errors

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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


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

Posted by jc...@apache.org.
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