.eslintrc 695 B

12345678910111213141516171819202122232425262728293031323334353637
  1. module.exports = {
  2. "env": {
  3. "browser": true,
  4. "es6": true,
  5. "node": true
  6. },
  7. "extends": "eslint:recommended",
  8. "parserOptions": {
  9. "ecmaFeatures": {
  10. "experimentalObjectRestSpread": true,
  11. "jsx": true
  12. },
  13. "sourceType": "module"
  14. },
  15. "plugins": [
  16. "react"
  17. ],
  18. "rules": {
  19. "indent": [
  20. "error",
  21. 4
  22. ],
  23. "linebreak-style": [
  24. "error",
  25. "windows"
  26. ],
  27. "quotes": [
  28. "error",
  29. "single"
  30. ],
  31. "semi": [
  32. "error",
  33. "always"
  34. ],
  35. "no-console": 0
  36. }
  37. };