The code powering m.abunchtell.com https://m.abunchtell.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

80 lines
1.9 KiB

  1. {
  2. "env": {
  3. "browser": true,
  4. "node": false,
  5. "es6": true
  6. },
  7. "parser": "babel-eslint",
  8. "plugins": [
  9. "react",
  10. "jsx-a11y"
  11. ],
  12. "parserOptions": {
  13. "sourceType": "module",
  14. "ecmaFeatures": {
  15. "arrowFunctions": true,
  16. "jsx": true,
  17. "destructuring": true,
  18. "modules": true,
  19. "spread": true
  20. }
  21. },
  22. "rules": {
  23. "no-cond-assign": 2,
  24. "no-console": 1,
  25. "no-irregular-whitespace": 2,
  26. "no-unreachable": 2,
  27. "valid-typeof": 2,
  28. "consistent-return": 2,
  29. "dot-notation": 2,
  30. "eqeqeq": 2,
  31. "no-fallthrough": 2,
  32. "no-unused-expressions": 2,
  33. "strict": 0,
  34. "no-catch-shadow": 2,
  35. "indent": [1, 2],
  36. "brace-style": 1,
  37. "comma-spacing": [1, {"before": false, "after": true}],
  38. "comma-style": [1, "last"],
  39. "no-mixed-spaces-and-tabs": 1,
  40. "no-nested-ternary": 1,
  41. "no-trailing-spaces": 1,
  42. "react/jsx-wrap-multilines": 2,
  43. "react/self-closing-comp": 2,
  44. "react/prop-types": 2,
  45. "react/no-multi-comp": 0,
  46. "jsx-a11y/accessible-emoji": 1,
  47. "jsx-a11y/anchor-has-content": 1,
  48. "jsx-a11y/aria-activedescendant-has-tabindex": 1,
  49. "jsx-a11y/aria-props": 1,
  50. "jsx-a11y/aria-proptypes": 1,
  51. "jsx-a11y/aria-role": 1,
  52. "jsx-a11y/aria-unsupported-elements": 1,
  53. "jsx-a11y/heading-has-content": 1,
  54. "jsx-a11y/href-no-hash": 1,
  55. "jsx-a11y/html-has-lang": 1,
  56. "jsx-a11y/iframe-has-title": 1,
  57. "jsx-a11y/img-has-alt": 1,
  58. "jsx-a11y/img-redundant-alt": 1,
  59. "jsx-a11y/label-has-for": 1,
  60. "jsx-a11y/mouse-events-have-key-events": 1,
  61. "jsx-a11y/no-access-key": 1,
  62. "jsx-a11y/no-distracting-elements": 1,
  63. "jsx-a11y/no-onchange": 1,
  64. "jsx-a11y/no-redundant-roles": 1,
  65. "jsx-a11y/onclick-has-focus": 1,
  66. "jsx-a11y/onclick-has-role": 1,
  67. "jsx-a11y/role-has-required-aria-props": 1,
  68. "jsx-a11y/role-supports-aria-props": 1,
  69. "jsx-a11y/scope": 1,
  70. "jsx-a11y/tabindex-no-positive": 1
  71. }
  72. }