.eslintrc.json 531 B

123456789101112131415161718192021222324
  1. {
  2. "root": true,
  3. "parser": "@typescript-eslint/parser",
  4. "parserOptions": {
  5. "ecmaVersion": 6,
  6. "sourceType": "module"
  7. },
  8. "plugins": ["@typescript-eslint"],
  9. "rules": {
  10. "@typescript-eslint/naming-convention": [
  11. "warn",
  12. {
  13. "selector": "import",
  14. "format": ["camelCase", "PascalCase"]
  15. }
  16. ],
  17. "@typescript-eslint/semi": "warn",
  18. "curly": "warn",
  19. "eqeqeq": "warn",
  20. "no-throw-literal": "warn",
  21. "semi": "off"
  22. },
  23. "ignorePatterns": ["out", "dist", "**/*.d.ts"]
  24. }