.eslintrc 703 B

12345678910111213141516171819202122232425
  1. {
  2. "root": true,
  3. "parser": "@typescript-eslint/parser",
  4. "ignorePatterns": ["dist", "test"],
  5. "parserOptions": {
  6. "ecmaVersion": 2020
  7. },
  8. "rules": {
  9. "indent": ["error", "tab"],
  10. "semi": ["error", "always"],
  11. "quotes": ["error", "single"],
  12. "@typescript-eslint/no-explicit-any": "off",
  13. "@typescript-eslint/no-unused-vars": "off",
  14. "@typescript-eslint/no-empty-object-type": "off",
  15. "@typescript-eslint/no-unused-expressions": "off",
  16. "@typescript-eslint/explicit-member-accessibility": "error",
  17. "@typescript-eslint/explicit-function-return-type": "error"
  18. },
  19. "plugins": [
  20. "@typescript-eslint"
  21. ],
  22. "extends": [
  23. "plugin:@typescript-eslint/recommended"
  24. ]
  25. }