.eslintrc.json 925 B

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. "env": {
  3. "browser": true,
  4. "es6": true,
  5. "node": true
  6. },
  7. "parser": "@typescript-eslint/parser",
  8. "plugins": ["@typescript-eslint"],
  9. "extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
  10. "globals": {
  11. "Atomics": "readonly",
  12. "SharedArrayBuffer": "readonly"
  13. },
  14. "parserOptions": {
  15. "ecmaVersion": 2018,
  16. "sourceType": "module"
  17. },
  18. "rules": {
  19. "camelcase": "off",
  20. "no-unused-vars": "off",
  21. "@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
  22. "@typescript-eslint/camelcase": "off"
  23. }
  24. ,
  25. "overrides": [
  26. {
  27. "files": ["*.js", "*.jsx"],
  28. "rules": {
  29. "@typescript-eslint/explicit-member-accessibility": 0,
  30. "@typescript-eslint/explicit-function-return-type": 0
  31. }
  32. }
  33. ]
  34. }