.eslintrc.json 717 B

12345678910111213141516171819202122232425
  1. {
  2. "extends": ["eslint:recommended", "plugin:prettier/recommended"],
  3. "env": {
  4. "browser": true,
  5. "commonjs": true,
  6. "es6": true
  7. },
  8. "parser": "@typescript-eslint/parser",
  9. "ignorePatterns": ["*.js", "*.d.ts"],
  10. "overrides": [
  11. {
  12. "files": ["**/*.ts"],
  13. "extends": ["plugin:@typescript-eslint/recommended"],
  14. "excludedFiles": "*.d.ts",
  15. "plugins": ["@typescript-eslint"],
  16. "rules": {
  17. "@typescript-eslint/consistent-type-imports": "error",
  18. "@typescript-eslint/ban-ts-comment": "off",
  19. "@typescript-eslint/no-empty-function": "off",
  20. "@typescript-eslint/ban-types": "off",
  21. "@typescript-eslint/no-explicit-any": "off"
  22. }
  23. }
  24. ]
  25. }