Last change
on this file was
484,
checked in by hendrikvanantwerpen, 11 years ago
|
Commit node_modules, to make checkouts and builds more deterministic.
|
File size:
907 bytes
|
Line | |
---|
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 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.