12345678910111213141516171819202122
  1. {
  2. extends: "eslint:recommended",
  3. "env": {
  4. "node": true,
  5. "browser": true,
  6. "es6" : true,
  7. "mocha": true
  8. },
  9. "rules": {
  10. "indent": [2, 4],
  11. "brace-style": [2, "1tbs"],
  12. "quotes": [2, "single"],
  13. "no-console": 0,
  14. "no-shadow": 0,
  15. "no-use-before-define": [2, "nofunc"],
  16. "no-underscore-dangle": 0,
  17. "no-constant-condition": 0,
  18. "space-after-function-name": 0,
  19. "consistent-return": 0
  20. }
  21. }