Created
March 22, 2015 22:52
-
-
Save jimfrenette/a9ce49f14ec30c8552b6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"bitwise": true, // Prohibit bitwise operators (&, |, ^, etc.). | |
"curly": true, // Require {} for every new block or scope. | |
"eqeqeq": true, // Require triple equals i.e. `===`. | |
"es3": true, // adhere to ECMAScript 3 specification, use for Internet Explorer 6-9 | |
"es5": true, // This option enables syntax first defined in the ECMAScript 5.1 specification. | |
"forin": true, // Tolerate `for in` loops without `hasOwnPrototype`. | |
"freeze": true, // prohibits overwriting prototypes of native objects such as Array, Date | |
"latedef": "nofunc", // Prohibit variable use before definition. Setting this option to "nofunc" will allow function declarations to be ignored. | |
"noarg": true, // Prohibits the use of arguments.caller and arguments.callee | |
"regexp": true, // Prohibit `.` and `[^...]` in regular expressions. | |
"undef": true, // Require all non-global variables be declared before they are used. | |
"unused": true, // warns when you define and never use your variables | |
"trailing": true, // Prohibit trailing whitespaces. | |
"debug": true, // Allow debugger statements e.g. browser breakpoints. | |
"expr": true, // suppresses warnings about the use of expressions where normally you would expect to see assignments or function calls | |
"smarttabs": true, // suppresses warnings about mixed tabs and spaces when the latter are used for alignmnent only | |
"browser": true, // Standard browser globals e.g. `window`, `document`. | |
"devel": true, // Allow development statements e.g. `console.log();`. | |
"jasmine": true, // This option defines globals exposed by the Jasmine unit testing framework. | |
"jquery": true, // Enable globals exposed by jQuery JavaScript library. | |
"mocha": true, // This option defines globals exposed by the "BDD" and "TDD" UIs of the Mocha unit testing framework. | |
"node": true, // Enable globals available when code is running inside of the NodeJS runtime environment. | |
"nonstandard": true, // Define non-standard but widely adopted globals such as escape and unescape. | |
"globals": { | |
"define": false, | |
"require": true, | |
"requirejs": false, | |
"Modernizr": false, | |
"_": false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment