.eslintrc.js 645 B

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