{ "ignorePatterns": [ "**/dist/**", "data/**", "e2e/.scratch/**", "e2e/test-results/**", "e2e/playwright-report/**" ], "categories": { "correctness": "error", "suspicious": "warn", "perf": "warn" }, "rules": { "block-scoped-var": "off", "no-await-in-loop": "off", "no-cond-assign": "off", "no-shadow": "off", "no-restricted-imports": [ "error", { "paths": [ { "name": "@github/copilot-sdk", "message": "Import @github/copilot-sdk only from apps/server/src/harness/copilot-sdk/." } ], "patterns": [ { "group": ["@github/copilot-sdk/*"], "message": "Import @github/copilot-sdk only from apps/server/src/harness/copilot-sdk/." } ] } ], "no-unused-expressions": [ "error", { "allowShortCircuit": true } ], "no-unused-vars": [ "warn", { "ignoreRestSiblings": true, "argsIgnorePattern": "^_", "caughtErrorsIgnorePattern": "^_", "varsIgnorePattern": "^_" } ], "oxc/no-map-spread": "off", "triple-slash-reference": "off", "typescript/no-import-type-side-effects": "error", "unicorn/no-array-sort": "off" }, "overrides": [ { "files": ["apps/server/src/harness/copilot-sdk/**"], "rules": { "no-restricted-imports": "off" } } ] }