You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by br...@apache.org on 2018/12/11 22:36:17 UTC

[cordova-node-xcode] 02/02: [TODO] TBD RULES DISABLED in lib & test for now

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

brodybits pushed a commit to branch brodybits-introduce-eslint
in repository https://gitbox.apache.org/repos/asf/cordova-node-xcode.git

commit 197fc852a73e28cc2a555ddb321655d67ff04f10
Author: Christopher J. Brody <ch...@gmail.com>
AuthorDate: Tue Dec 11 17:32:35 2018 -0500

    [TODO] TBD RULES DISABLED in lib & test for now
    
    TODO: start resolving eslint issues in lib & test
    so that we can remove the disabled rule entries.
---
 lib/.eslintrc.yml  | 33 +++++++++++++++++++++++++++++++++
 test/.eslintrc.yml | 34 ++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/lib/.eslintrc.yml b/lib/.eslintrc.yml
new file mode 100644
index 0000000..6ebbaeb
--- /dev/null
+++ b/lib/.eslintrc.yml
@@ -0,0 +1,33 @@
+rules:
+  # TODO: Resolve the issues in the code so that these rules can be re-enabled.
+  brace-style: off
+  comma-dangle: off
+  curly: off
+  eqeqeq: off
+  func-call-spacing: off
+  indent: off
+  key-spacing: off
+  keyword-spacing: off
+  new-cap: off
+  no-dupe-keys: off
+  no-extra-semi: off
+  no-mixed-operators: off
+  no-multi-spaces: off
+  no-multiple-empty-lines: off
+  no-new-object: off
+  no-path-concat: off
+  no-redeclare: off
+  no-trailing-spaces: off
+  no-undef: off
+  no-unneeded-ternary: off
+  no-unused-vars: off
+  object-curly-spacing: off
+  one-var: off
+  quotes: off
+  semi: off
+  space-before-blocks: off
+  space-before-function-paren: off
+  space-in-parens: off
+  space-infix-ops: off
+  spaced-comment: off
+  standard/object-curly-even-spacing: off
diff --git a/test/.eslintrc.yml b/test/.eslintrc.yml
new file mode 100644
index 0000000..27e9b28
--- /dev/null
+++ b/test/.eslintrc.yml
@@ -0,0 +1,34 @@
+rules:
+  # TODO: Resolve the issues in the code so that these rules can be re-enabled.
+  comma-dangle: off
+  comma-spacing: off
+  comma-style: off
+  curly: off
+  eqeqeq: off
+  func-call-spacing: off
+  handle-callback-err: off
+  indent: off
+  key-spacing: off
+  new-cap: off
+  no-multi-spaces: off
+  no-multiple-empty-lines: off
+  no-path-concat: off
+  no-redeclare: off
+  no-regex-spaces: off
+  no-sequences: off
+  no-tabs: off
+  no-template-curly-in-string: off
+  no-trailing-spaces: off
+  no-undef: off
+  no-unused-expressions: off
+  no-unused-vars: off
+  no-use-before-define: off
+  object-curly-spacing: off
+  one-var: off
+  quotes: off
+  semi: off
+  space-before-blocks: off
+  space-before-function-paren: off
+  space-in-parens: off
+  space-infix-ops: off
+  standard/object-curly-even-spacing: off


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