.eslintrc.json 768 B

1234567891011121314151617181920212223242526272829
  1. {
  2. "env": {
  3. "browser": true,
  4. "es6": true,
  5. "node": true
  6. },
  7. "extends": [
  8. "eslint:recommended",
  9. "plugin:@typescript-eslint/eslint-recommended",
  10. "plugin:@typescript-eslint/recommended",
  11. "plugin:import/recommended",
  12. "plugin:import/electron",
  13. "plugin:import/typescript"
  14. ],
  15. "parser": "@typescript-eslint/parser",
  16. "rules": {
  17. "@typescript-eslint/ban-ts-comment": "off",
  18. "@typescript-eslint/no-var-requires": "warn",
  19. "import/no-unresolved": "off",
  20. "@typescript-eslint/no-empty-interface": "off",
  21. "@typescript-eslint/no-explicit-any": "off",
  22. "@typescript-eslint/no-empty-function": "warn",
  23. "no-empty": "warn",
  24. "no-useless-catch": "warn",
  25. "prefer-const": "warn",
  26. "quotes": [1, "double"]
  27. }
  28. }