Guest User

Untitled

a guest
Dec 11th, 2017
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 KB | None | 0 0
  1. {
  2. "extends": [
  3. "google",
  4. "prettier",
  5. "prettier/react"
  6. ],
  7. "env": {
  8. "browser": true,
  9. "node": true,
  10. "jquery": true
  11. },
  12. "rules": {
  13. "no-unused-vars": [
  14. 1,
  15. {
  16. "argsIgnorePattern": "res|next|^err"
  17. }
  18. ],
  19. "arrow-body-style": [
  20. 2,
  21. "as-needed"
  22. ],
  23. "no-param-reassign": [
  24. 2,
  25. {
  26. "props": false
  27. }
  28. ],
  29. "no-console": 0,
  30. "import": 0,
  31. "func-names": 0,
  32. "space-before-function-paren": 0,
  33. "comma-dangle": 0,
  34. "max-len": 0,
  35. "import/extensions": 0,
  36. "no-underscore-dangle": 0,
  37. "consistent-return": 0,
  38. "react/display-name": 1,
  39. "react/react-in-jsx-scope": 0,
  40. "react/forbid-prop-types": 0,
  41. "react/no-unescaped-entities": 0,
  42. "react/jsx-filename-extension": [
  43. 1,
  44. {
  45. "extensions": [
  46. ".js",
  47. ".jsx"
  48. ]
  49. }
  50. ],
  51. "radix": 0,
  52. "no-shadow": [
  53. 2,
  54. {
  55. "hoist": "all",
  56. "allow": [
  57. "resolve",
  58. "reject",
  59. "done",
  60. "next",
  61. "err",
  62. "error"
  63. ]
  64. }
  65. ],
  66. "quotes": [
  67. 2,
  68. "single",
  69. {
  70. "avoidEscape": true,
  71. "allowTemplateLiterals": true
  72. }
  73. ],
  74. "prettier/prettier": [
  75. "error",
  76. {
  77. "trailingComma": "es5",
  78. "singleQuote": true,
  79. "printWidth": 120
  80. }
  81. ],
  82. "jsx-a11y/href-no-hash": "off",
  83. "jsx-a11y/anchor-is-valid": [
  84. "warn",
  85. {
  86. "aspects": [
  87. "invalidHref"
  88. ]
  89. }
  90. ]
  91. },
  92. "plugins": [
  93. "eslint-plugin-html",
  94. "prettier"
  95. ]
  96. }
Add Comment
Please, Sign In to add comment