{
  "$schema": "./node_modules/oxlint/configuration_schema.json",
  "plugins": ["eslint", "typescript", "unicorn", "oxc", "vue"],
  "env": {
    "browser": true
  },
  "globals": {
    "__statics": "readonly",
    "process": "readonly",
    "chrome": "readonly",
    "API_CLIENT": "readonly",
    "EVENT_BUS": "readonly",
    "Temporal": "readonly"
  },
  "ignorePatterns": [
    "dist/**",
    "node_modules/**",
    ".harness/**"
  ],
  "categories": {
    "correctness": "error"
  },
  "rules": {
    "no-void": "off",
    "prefer-promise-reject-errors": "off",
    "no-unused-vars": "off",

    // allow debugger during development only
    "no-debugger": "error",

    // These are valid rule names but currently inert: the `import` plugin is not enabled above.
    // Turning it on reports a false positive for every Vite `?worker` import in boot/monaco.js,
    // because the plugin resolves the specifier literally and does not know Vite rewrites those
    // into modules with a default export. Left declared so the intent survives; enable the plugin
    // once those imports can be resolved cleanly.
    "import/first": "off",
    "import/named": "error",
    "import/namespace": "error",
    "import/default": "error",
    "import/export": "error",
    "import/extensions": "off"
  }
}
