[Pkg-voip-commits] [janus] 252/282: Instruct ESLint to ignore Janus JS module contents when linting your project.

Jonas Smedegaard dr at jones.dk
Wed Dec 20 21:53:46 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/0.2.6-1
in repository janus.

commit 469178eb6423aa4b51b4f4515e717f6594ae4846
Author: Johan Ouwerkerk <jm.ouwerkerk at gmail.com>
Date:   Fri Dec 8 11:00:54 2017 +0100

    Instruct ESLint to ignore Janus JS module contents when linting your project.
    
    This change makes the generated JS modules easier to consume in your project, now it really should be just a drop-in.
---
 npm/module.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/npm/module.js b/npm/module.js
index 07dc454..6080069 100644
--- a/npm/module.js
+++ b/npm/module.js
@@ -1,6 +1,9 @@
+/* eslint-disable */
 /*
  * Module shim for rollup.js to work with.
- * Simply re-export Janus from janus.js, the real 'magic' is in the rollup config
+ * Simply re-export Janus from janus.js, the real 'magic' is in the rollup config.
+ *
+ * Since this counts as 'autogenerated' code, ESLint is instructed to ignore the contents of this file when linting your project.
  */
 
 @JANUS_CODE@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/janus.git



More information about the Pkg-voip-commits mailing list