.eslintrc.js 572 B

12345678910111213141516171819202122232425262728
  1. /**
  2. * @type {import("eslint").Linter.Config}
  3. */
  4. const config = {
  5. root: true,
  6. env: {
  7. browser: true,
  8. node: true,
  9. },
  10. parser: "@typescript-eslint/parser",
  11. extends: [
  12. "eslint:recommended",
  13. "plugin:@typescript-eslint/eslint-recommended",
  14. "plugin:@typescript-eslint/recommended",
  15. "plugin:prettier/recommended",
  16. ],
  17. plugins: ["@typescript-eslint"],
  18. parserOptions: {
  19. ecmaVersion: 2020,
  20. },
  21. rules: {
  22. "no-console": "off",
  23. "no-debugger": "off",
  24. "@typescript-eslint/no-explicit-any": "off",
  25. },
  26. };
  27. module.exports = config;