Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. {
  2. "parser": "babel-eslint",
  3. "plugins": [
  4. "import",
  5. "react"
  6. ],
  7. "extends": [
  8. "airbnb"
  9. ],
  10. "env": {
  11. "node": true,
  12. "browser": true,
  13. "jest": true
  14. },
  15. "parserOptions": {
  16. "ecmaVersion": 8,
  17. "ecmaFeatures": {
  18. "experimentalObjectRestSpread": true
  19. }
  20. },
  21. "settings": {
  22. "import/resolver": {
  23. "node": {
  24. "paths": [
  25. "src"
  26. ]
  27. }
  28. }
  29. },
  30. "rules": {
  31. "eqeqeq": [
  32. "error",
  33. "smart"
  34. ],
  35. "react/jsx-filename-extension": [
  36. "warn",
  37. {
  38. "extensions": [
  39. ".js"
  40. ]
  41. }
  42. ],
  43. "default-case": "off",
  44. "camelcase": [
  45. 2,
  46. {
  47. "properties": "always"
  48. }
  49. ],
  50. "react/jsx-pascal-case": [
  51. 2,
  52. {
  53. "allowAllCaps": true
  54. }
  55. ],
  56. "no-dupe-keys": "error",
  57. "import/prefer-default-export": "off",
  58. "no-plusplus": "off",
  59. "react/forbid-prop-types": "off",
  60. "react/require-default-props": "off",
  61. "react/no-unused-prop-types": "off",
  62. "react/default-props-match-prop-types": "off",
  63. "react/no-unused-state": "off",
  64. "react/no-array-index-key": "off",
  65. "jsx-a11y/no-noninteractive-element-interactions": "off",
  66. "jsx-a11y/click-events-have-key-events": "off",
  67. "jsx-a11y/no-static-element-interactions": "off",
  68. "no-case-declarations": "off",
  69. "import/no-extraneous-dependencies": "off",
  70. "arrow-parens": ["error", "as-needed"],
  71. "arrow-body-style": ["error", "as-needed"]
  72. }
  73. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement