{ "$schema": "./node_modules/oxlint/configuration_schema.json", "ignorePatterns": ["dist", "node_modules", "coverage"], "rules": { "no-restricted-imports": [ "error", { "patterns": ["**/tests/utils/**", "**/docs/**", "**/completion/**"] } ], "typescript/consistent-type-imports": "error" }, "overrides": [ { "files": ["**/*.test.ts", "**/*.test.tsx"], "rules": { "no-restricted-imports": "off" } }, { "files": ["packages/*/src/index.ts"], "rules": { "no-restricted-imports": ["error", { "patterns": ["**/tests/utils/**"] }] } }, { "files": ["packages/core/src/docs/**/*.ts", "packages/*/src/docs.ts"], "rules": { "no-restricted-imports": ["error", { "patterns": ["**/tests/utils/**"] }] } }, { "files": ["packages/core/src/completion/**/*.ts", "packages/*/src/completion.ts"], "rules": { "no-restricted-imports": ["error", { "patterns": ["**/tests/utils/**"] }] } } ] }