.eslintrc 658 B

12345678910111213141516171819202122232425262728
  1. {
  2. "root": true,
  3. "parser": "@typescript-eslint/parser",
  4. "ignorePatterns": ["build/", "static/", "node_scripts/", "target/"],
  5. "parserOptions": {
  6. "ecmaVersion": 2020
  7. },
  8. "overrides": [
  9. {
  10. "files": ["src/**/*.ts"]
  11. }
  12. ],
  13. "rules": {
  14. "indent": ["error", "tab"],
  15. "semi": ["error", "always"],
  16. "@typescript-eslint/no-explicit-any": "off",
  17. "@typescript-eslint/no-unused-vars": "off",
  18. "quotes": ["error", "single"],
  19. "@typescript-eslint/explicit-member-accessibility": "error",
  20. "@typescript-eslint/explicit-function-return-type": "error"
  21. },
  22. "plugins": [
  23. "@typescript-eslint"
  24. ],
  25. "extends": [
  26. "plugin:@typescript-eslint/recommended"
  27. ]
  28. }