env:
  browser: true
  es2021: true
extends:
  - standard-with-typescript
  - plugin:prettier/recommended
plugins:
  - prettier
ignorePatterns:
  - "**/idl/world.ts"
parser: "@typescript-eslint/parser"
parserOptions:
  ecmaVersion: latest
  sourceType: module
  project: [./tsconfig.json]
rules:
  "@typescript-eslint/strict-boolean-expressions":
    - error
    - allowNullableObject: true
  "@typescript-eslint/return-await":
    - error
    - in-try-catch
  "@typescript-eslint/explicit-function-return-type": "off"
  "@typescript-eslint/restrict-template-expressions": "off"
