You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by er...@apache.org on 2024/03/24 12:48:48 UTC
(cordova-eslint) 01/01: feat: disable no-var for browser usage
This is an automated email from the ASF dual-hosted git repository.
erisu pushed a commit to branch feat/disable-no-var-for-browser
in repository https://gitbox.apache.org/repos/asf/cordova-eslint.git
commit c7392a7d4d1a25785e4f798c6a7c2f0186d8510c
Author: Erisu <er...@apache.org>
AuthorDate: Sun Mar 24 21:48:34 2024 +0900
feat: disable no-var for browser usage
---
lib/browser.js | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/browser.js b/lib/browser.js
index 85acd73..4165409 100644
--- a/lib/browser.js
+++ b/lib/browser.js
@@ -20,5 +20,9 @@
module.exports = {
env: {
browser: true
+ },
+
+ rules: {
+ 'no-var': 0
}
};
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org