.eslintrc.js 490 B

123456789101112131415161718192021222324
  1. // eslint-disable-next-line no-undef
  2. module.exports = {
  3. env: {
  4. browser: true,
  5. es2021: true,
  6. },
  7. extends: [
  8. "eslint:recommended",
  9. "plugin:react/recommended",
  10. "plugin:@typescript-eslint/recommended",
  11. "prettier",
  12. ],
  13. overrides: [],
  14. parser: "@typescript-eslint/parser",
  15. parserOptions: {
  16. ecmaVersion: "latest",
  17. sourceType: "module",
  18. },
  19. plugins: ["react", "@typescript-eslint"],
  20. rules: {},
  21. settings: {
  22. react: { version: "detect" },
  23. },
  24. };