.eslintrc 805 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "parser": "babel-eslint",
  3. "extends": ["eslint:recommended", "plugin:react/recommended"],
  4. "env": {
  5. "browser": true,
  6. "node": true,
  7. "es6": true
  8. },
  9. "parserOptions": {
  10. "sourceType": "module"
  11. },
  12. "plugins": [
  13. "react"
  14. ],
  15. "globals": {
  16. "ENVIRONMENT": true,
  17. "STANDALONE": true,
  18. "it": true,
  19. "describe": true,
  20. "xdescribe": true,
  21. "xit": true,
  22. "before": true,
  23. "beforeEach": true,
  24. "after": true,
  25. "afterEach": true
  26. },
  27. "rules": {
  28. "linebreak-style": [
  29. "error",
  30. "unix"
  31. ],
  32. "no-console": [
  33. "error",
  34. {
  35. "allow": [
  36. "warn",
  37. "error"
  38. ]
  39. }
  40. ],
  41. "react/no-deprecated": "warn"
  42. }
  43. }