You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.jshintrc 1.1KB

12345678910111213141516171819
  1. {
  2. // Refer to http://jshint.com/docs/options/ for an exhaustive list of options
  3. "asi": false, // true: Tolerate Automatic Semicolon Insertion (no semicolons)
  4. "browser": true, // Web Browser (window, document, etc)
  5. "curly": false, // true: Require {} for every new block or scope
  6. "esversion": 6,
  7. "evil": true, // true: Tolerate use of `eval` and `new Function()`
  8. "expr": true, // true: Tolerate `ExpressionStatement` as Programs
  9. "indent": 4, // {int} Number of spaces to use for indentation
  10. "latedef": false, //This option prohibits the use of a variable before it was defined
  11. "laxbreak": true, //Ignore line breaks around "=", "==", "&&", etc.
  12. "loopfunc": true, // true: Tolerate functions being defined in loops
  13. "maxlen": 80, // {int} Max number of characters per line
  14. "newcap": true, // true: Require capitalization of all constructor functions e.g. `new F()`
  15. "node": true, // Node.js
  16. "trailing": true,
  17. "undef": true, // true: Require all non-global variables to be declared (prevents global leaks)
  18. "white": true
  19. }