UNPKG

1.15 kBPlain TextView Raw
1{
2 "node": true, // Defines globals available when your code is running inside of the Node runtime environment
3 "esnext": true, // Tells JSHint that your code uses ECMAScript 6 specific syntax.
4 "bitwise": true, // Prohibits the use of bitwise operators such as ^ (XOR), | (OR) and others.
5 "curly": false, // Always put curly braces around blocks in loops and conditionals
6 "noarg": true, // Prohibits the use of arguments.caller and arguments.callee.
7 "undef": true, // Prohibits the use of explicitly undeclared variables.
8 "unused": "vars", // Warns when you define and never use your variables.
9 "strict": true, // Requires all functions to run in ECMAScript 5's strict mode.
10 "eqnull": true, // Suppresses warnings about == null comparisons
11 "eqeqeq": true, // Prohibits the use of == and != in favor of === and !==.
12 "browser": true, // This option defines globals exposed by modern browsers
13 "mootools": true, // This option defines globals exposed by the MooTools JavaScript framework.
14 "mocha": true // This option defines globals exposed by the "BDD" and "TDD" UIs of the Mocha unit testing framework.
15}