.eslintrc.js 612 B

123456789101112131415161718192021222324252627
  1. "use strict";
  2. module.exports = {
  3. env: {
  4. browser: true,
  5. commonjs: true,
  6. es2020: true,
  7. },
  8. extends: ["eslint:all", "prettier", "plugin:node/recommended"],
  9. parserOptions: {
  10. ecmaVersion: 11,
  11. },
  12. rules: {
  13. camelcase: "off",
  14. "capitalized-comments": "off",
  15. curly: ["error", "all"],
  16. "id-length": "off",
  17. "max-lines-per-function": "off",
  18. "max-statements": "off",
  19. "multiline-comment-style": "off",
  20. "no-bitwise": "off",
  21. "no-magic-numbers": "off",
  22. "no-param-reassign": "off",
  23. "no-plusplus": "off",
  24. "one-var": "off",
  25. "padded-blocks": "off",
  26. },
  27. };