No Description

.eslintrc-browser.json 733B

123456789101112131415161718192021222324252627282930313233
  1. {
  2. "root": true,
  3. "extends": "jquery",
  4. "reportUnusedDisableDirectives": true,
  5. // Support: IE <=9 only, Android <=4.0 only
  6. // The above browsers are failing a lot of tests in the ES5
  7. // test suite at http://test262.ecmascript.org.
  8. "parserOptions": {
  9. "ecmaVersion": 3
  10. },
  11. // The browser env is not enabled on purpose so that code takes
  12. // all browser-only globals from window instead of assuming
  13. // they're available as globals. This makes it possible to use
  14. // jQuery with tools like jsdom which provide a custom window
  15. // implementation.
  16. "env": {},
  17. "globals": {
  18. "window": true,
  19. "define": true,
  20. "module": true
  21. },
  22. "rules": {
  23. "one-var": ["error", {"var": "always"}],
  24. "strict": ["error", "function"]
  25. }
  26. }