Нема описа

12345678910111213141516171819202122232425262728293031323334353637383940
  1. module.exports = {
  2. "parser": "babel-eslint",
  3. "env": {
  4. "browser": true,
  5. "commonjs": true,
  6. "es6": true,
  7. "node": true
  8. },
  9. "extends": "eslint:recommended",
  10. "parserOptions": {
  11. "ecmaFeatures": {
  12. "jsx": true
  13. },
  14. "ecmaVersion": 2018,
  15. "sourceType": "module"
  16. },
  17. "plugins": [
  18. "react"
  19. ],
  20. "rules": {
  21. "react/jsx-uses-react": [1],
  22. "react/jsx-uses-vars": [2],
  23. "indent": [
  24. "error",
  25. 2
  26. ],
  27. "linebreak-style": [
  28. "error",
  29. "unix"
  30. ],
  31. "quotes": [
  32. "error",
  33. "single"
  34. ],
  35. "semi": [
  36. "error",
  37. "never"
  38. ]
  39. }
  40. };