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.

35 lines
426 B

  1. {
  2. "env": {
  3. "browser": true,
  4. "node": true,
  5. "commonjs": true,
  6. "es6": true
  7. },
  8. "extends": "eslint:recommended",
  9. "parserOptions": {
  10. "sourceType": "module"
  11. },
  12. "rules": {
  13. "indent": [
  14. "warn",
  15. 4,
  16. {
  17. "SwitchCase": 1
  18. }
  19. ],
  20. "quotes": [
  21. "warn",
  22. "double"
  23. ],
  24. "semi": [
  25. "error",
  26. "always"
  27. ],
  28. "no-undef": "error",
  29. "no-unused-vars": "warn",
  30. "eqeqeq": [
  31. "error",
  32. "always"
  33. ]
  34. }
  35. }