gecko-dev/browser/components/loop/standalone/.jshintrc
Nicolas Perriault 7921706444 Bug 983697 - Fill loop-client repository with basic server & readme. r=dmose
--HG--
extra : transplant_source : Z%1E%08.%D8%87%A3%E7%A7%E7d%CD%AF%EA%D0wp%E4d%D8
2014-05-29 21:20:11 +01:00

44 lines
1.4 KiB
Plaintext

{
"browser" : true, // Web Browser (window, document, etc)
"eqeqeq" : true, // true: Require triple equals (===) for comparison
"devel" : true, // Development/debugging (alert, confirm, etc)
"immed" : false, // true: Require immediate invocations to be wrapped
// in parens e.g. `(function () { } ());`
"indent" : 2,
"jquery": true,
"latedef" : true, // true: Require variables to be defined before use
// (helps avoid hoisting bugs)
"maxlen" : 80, // {int} Max number of characters per line
"node" : true, // Node.js
"strict": true, // Strict mode
"trailing" : false, // true: Prohibit trailing whitespaces
"undef" : true, // true: Require all non-global variables to be
// declared (prevents global leaks)
"unused" : "vars", // vars: Require all defined variables be used, but not
// function parameters
"globals": {
// chai global
"chai": false,
// mocha globals
"after": false,
"afterEach": false,
"before": false,
"beforeEach": false,
"describe": false,
"it": false,
// firefox stuff not covered by "browser" option
"indexedDB": true,
"mozRTCIceCandidate": false,
"mozRTCPeerConnection": false,
"mozRTCSessionDescription": false,
"Backbone": false,
"_": false
}
}