.eslintrc.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "parserOptions": {
  3. "ecmaVersion": 5,
  4. "sourceType": "module",
  5. "ecmaFeatures": {}
  6. },
  7. "rules": {
  8. "constructor-super": 2,
  9. "indent": [
  10. "error",
  11. 2
  12. ],
  13. "linebreak-style": [
  14. "error",
  15. "unix"
  16. ],
  17. "multiline-comment-style": 2,
  18. "no-case-declarations": 2,
  19. "no-class-assign": 2,
  20. "no-compare-neg-zero": 2,
  21. "no-cond-assign": 2,
  22. "no-console": 2,
  23. "no-const-assign": 2,
  24. "no-control-regex": 2,
  25. "no-debugger": 2,
  26. "no-delete-var": 2,
  27. "no-dupe-args": 2,
  28. "no-dupe-class-members": 2,
  29. "no-dupe-keys": 2,
  30. "no-duplicate-case": 2,
  31. "no-empty-character-class": 2,
  32. "no-empty-pattern": 2,
  33. "no-empty": 2,
  34. "no-ex-assign": 2,
  35. "no-extra-boolean-cast": 2,
  36. "no-extra-semi": 2,
  37. "no-fallthrough": 2,
  38. "no-func-assign": 2,
  39. "no-global-assign": 2,
  40. "no-inner-declarations": 2,
  41. "no-invalid-regexp": 2,
  42. "no-irregular-whitespace": 2,
  43. "no-mixed-spaces-and-tabs": 2,
  44. "no-new-symbol": 2,
  45. "no-obj-calls": 2,
  46. "no-octal": 2,
  47. "no-redeclare": 2,
  48. "no-regex-spaces": 2,
  49. "no-self-assign": 2,
  50. "no-sparse-arrays": 2,
  51. "no-this-before-super": 2,
  52. "no-trailing-spaces": 2,
  53. "no-undef": 2,
  54. "no-unexpected-multiline": 2,
  55. "no-unreachable": 2,
  56. "no-unsafe-finally": 2,
  57. "no-unsafe-negation": 2,
  58. "no-unused-labels": 2,
  59. "no-unused-vars": 2,
  60. "no-useless-escape": 2,
  61. "object-curly-newline": 2,
  62. "object-curly-spacing": 2,
  63. "quotes": [
  64. "error",
  65. "single"
  66. ],
  67. "require-yield": 2,
  68. "semi": [
  69. "error",
  70. "always"
  71. ],
  72. "switch-colon-spacing": 2,
  73. "space-before-blocks": 2,
  74. "spaced-comment": 2,
  75. "space-in-parens": 2,
  76. "use-isnan": 2,
  77. "valid-typeof": 2,
  78. "vars-on-top": 2
  79. },
  80. "env": {}
  81. }