.eslintrc.json 468 B

1234567891011121314151617181920212223
  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": "off",
  18. "eqeqeq": "warn",
  19. "no-throw-literal": "warn",
  20. "semi": "off"
  21. },
  22. "ignorePatterns": ["out", "dist", "**/*.d.ts"]
  23. }