.eslintrc 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "root": true,
  3. "extends": "@ljharb/eslint-config/node/0.4",
  4. "rules": {
  5. "array-bracket-spacing": 0,
  6. "array-element-newline": 0,
  7. "brace-style": 1,
  8. "camelcase": 1,
  9. "comma-dangle": 1,
  10. "comma-spacing": 1,
  11. "complexity": 0,
  12. "curly": 1,
  13. "dot-notation": 1,
  14. "eol-last": 1,
  15. "func-style": 1,
  16. "function-paren-newline": 1,
  17. "indent": [1, 4],
  18. "key-spacing": 1,
  19. "max-lines-per-function": 0,
  20. "max-nested-callbacks": 1,
  21. "max-statements": 0,
  22. "multiline-comment-style": 1,
  23. "no-array-constructor": 1,
  24. "no-continue": 1,
  25. "no-div-regex": 1,
  26. "no-extra-parens": 1,
  27. "no-mixed-operators": 1,
  28. "no-multi-spaces": 1,
  29. "no-multiple-empty-lines": 1,
  30. "no-param-reassign": 1,
  31. "no-plusplus": 1,
  32. "no-proto": 1,
  33. "no-redeclare": 1,
  34. "no-restricted-syntax": 1,
  35. "no-shadow": 1,
  36. "no-trailing-spaces": 1,
  37. "no-unused-vars": 1,
  38. "no-use-before-define": 1,
  39. "object-curly-newline": 1,
  40. "object-curly-spacing": 1,
  41. "operator-linebreak": 1,
  42. "quote-props": 1,
  43. "quotes": 1,
  44. "semi-style": 1,
  45. "semi": 1,
  46. "space-before-blocks": 1,
  47. "space-before-function-paren": 1,
  48. "space-infix-ops": 1,
  49. "strict": 1,
  50. "wrap-regex": 1,
  51. },
  52. }