Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. {
  2. // ENVIRONMENT
  3. "node": true, // Enable globals available when code is running inside of the NodeJS runtime environment.
  4. "browser": true, // Standard browser globals e.g. `window`, `document`.
  5. "esnext": true, // Allow ES.next specific features such as `const` and `let`. ES6 / ES7
  6. "devel": false, // Allow development statements e.g. `console.log();`.
  7. "jquery": true, // jQuery
  8. "newcap": false, // Require capitalization of all constructor functions e.g. `new F()`. -- Messenger warnings are annoying
  9.  
  10. // ENFORCING
  11. "noempty": true, // Prohibit use of empty blocks.
  12. "noarg": true, // Prohibit use of `arguments.caller` and `arguments.callee`.
  13. "undef": true, // Require all non-global variables be declared before they are used.
  14. "bitwise": true, // Prohibit bitwise operators (&, |, ^, etc.).
  15. "curly": true, // Require {} for every new block or scope.
  16. //"eqeqeq": true, // Require triple equals i.e. `===`.
  17. "latedef": true, // Prohibit variable use before definition.
  18. "unused": true, // Warn unused variables.
  19. "predef": [ // Extra globals.
  20. "$",
  21. "describe",
  22. "it",
  23. "before",
  24. "beforeEach",
  25. "after",
  26. "afterEach"
  27. ],
  28.  
  29. // RELAXING
  30. "strict": false, // require "use strict"
  31. "globalstrict": true, // allow global "use strict"
  32.  
  33. // STYLING
  34. "indent": 4 // Specify indentation spacing
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement