UNPKG

907 BPlain TextView Raw
1{
2 "curly": true, // true: Require {} for every new block or scope
3 "eqeqeq": true, // true: Require triple equals (===) for comparison
4 "immed": true, // true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());`
5 "latedef": true, // true: Require variables/functions to be defined before being used
6 "newcap": true, // true: Require capitalization of all constructor functions e.g. `new F()`
7 "noarg": true, // true: Prohibit use of `arguments.caller` and `arguments.callee`
8 "sub": true, // true: Tolerate using `[]` notation when it can still be expressed in dot notation
9 "undef": true, // true: Require all non-global variables to be declared (prevents global leaks)
10 "boss": true, // true: Tolerate assignments where comparisons would be expected
11 "eqnull": true, // true: Tolerate use of `== null`
12 "node": true // Node.js
13}