.eslintrc 804 B

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. "extends": "eslint:recommended",
  3. "parser": "babel-eslint",
  4. "rules": {
  5. "react/jsx-uses-react": 1,
  6. "react/jsx-uses-vars": 1,
  7. "react/react-in-jsx-scope": 1,
  8. "react/jsx-tag-spacing": [0, {
  9. "beforeSelfClosing": "always"
  10. }],
  11. "curly": [1],
  12. "linebreak-style": [1, "unix"],
  13. "semi": [1, "always"],
  14. "comma-dangle": [0],
  15. "no-unused-vars": [1, {
  16. "vars": "all",
  17. "args": "none",
  18. "ignoreRestSiblings": true
  19. }],
  20. "no-console": [0],
  21. "object-curly-spacing": [1, "always"],
  22. "keyword-spacing": ["error"]
  23. },
  24. "env": {
  25. "es6": true,
  26. "browser": true,
  27. "node": true
  28. },
  29. "plugins": [
  30. "jsx-a11y",
  31. "react"
  32. ]
  33. }