.eslintrc 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "env": {
  3. "browser": true,
  4. "es2021": true
  5. },
  6. "parser": "@typescript-eslint/parser",
  7. "extends": [
  8. "standard",
  9. "plugin:@typescript-eslint/recommended",
  10. "plugin:prettier/recommended"
  11. ],
  12. "parserOptions": {
  13. "ecmaVersion": "latest",
  14. "sourceType": "module"
  15. },
  16. "plugins": [
  17. "react",
  18. "@typescript-eslint"
  19. ],
  20. "ignorePatterns": [],
  21. "rules": {
  22. "new-cap": [
  23. "off"
  24. ],
  25. "no-unused-vars": [
  26. "off"
  27. ],
  28. "n/handle-callback-err": "off",
  29. "n/no-callback-literal":"off",
  30. "n/no-path-concat": "warn",
  31. "eqeqeq": "off",
  32. "prefer-spread": "warn",
  33. "no-useless-catch": "warn",
  34. "no-use-before-define": "off",
  35. "camelcase": "off",
  36. "no-case-declarations": "warn",
  37. "no-useless-call": "warn",
  38. "no-useless-constructor": "off",
  39. "no-unused-expressions":"off",
  40. "@typescript-eslint/no-unused-vars": "off",
  41. "@typescript-eslint/no-explicit-any": "off",
  42. "@typescript-eslint/ban-ts-comment": "off",
  43. "@typescript-eslint/no-this-alias": "off",
  44. "@typescript-eslint/no-var-requires": "off",
  45. "@typescript-eslint/no-empty-function": "off",
  46. "@typescript-eslint/ban-types": [
  47. "warn"
  48. ]
  49. }
  50. }