diff --git a/.jshintrc b/.jshintrc new file mode 100644 index 00000000..515dc22d --- /dev/null +++ b/.jshintrc @@ -0,0 +1,21 @@ +{ + "browser": true, + "node": true, + + "curly": true, + "eqeqeq": true, + "noarg": true, + "nonew": true, + "trailing": true, + "undef": true, + + "globals": { + "bootstrap": false, + "cajaVM": false, + "define": false, + "Q": true, + "ReturnValue": false, + "ses": false, + "setImmediate": false + } +} diff --git a/.npmignore b/.npmignore index 8a6f9910..9123b177 100644 --- a/.npmignore +++ b/.npmignore @@ -12,6 +12,7 @@ design examples spec .coverignore +.jshintrc .mailmap .npmignore .travis.yml diff --git a/q.js b/q.js index 63b1a598..8fb29d9f 100644 --- a/q.js +++ b/q.js @@ -1,9 +1,4 @@ // vim:ts=4:sts=4:sw=4: -/*jshint browser: true, node: true, - curly: true, eqeqeq: true, noarg: true, nonew: true, trailing: true, - undef: true */ -/*global define: false, Q: true, setImmediate: false, - ReturnValue: false, cajaVM: false, ses: false, bootstrap: false */ /*! * * Copyright 2009-2012 Kris Kowal under the terms of the MIT