.eslintrc.yml 579 B

123456789101112131415161718192021222324
  1. env:
  2. browser: true
  3. es2021: true
  4. extends:
  5. - standard-with-typescript
  6. - plugin:prettier/recommended
  7. plugins:
  8. - prettier
  9. ignorePatterns:
  10. - "**/idl/world.ts"
  11. parser: "@typescript-eslint/parser"
  12. parserOptions:
  13. ecmaVersion: latest
  14. sourceType: module
  15. project: [./tsconfig.json]
  16. rules:
  17. "@typescript-eslint/strict-boolean-expressions":
  18. - error
  19. - allowNullableObject: true
  20. "@typescript-eslint/return-await":
  21. - error
  22. - in-try-catch
  23. "@typescript-eslint/explicit-function-return-type": "off"
  24. "@typescript-eslint/restrict-template-expressions": "off"