Scaffold oxlint plugin with initial rule (#2603)

Co-authored-by: codex <[email protected]>
This commit is contained in:
Julius Marmingeandcodex authored and GitHub committed 2026-05-08 11:52:19 -07:00
1 parent 25b02f4ba2
commit 825263b6f9
86 files changed
+1116 -434

No files matched your search

@@ -22,6 +22,7 @@ import {
import { ServerConfig } from "../config.ts";
import * as GitVcsDriver from "../vcs/GitVcsDriver.ts";
import * as SourceControlProviderRegistry from "./SourceControlProviderRegistry.ts";
const isSourceControlRepositoryError = Schema.is(SourceControlRepositoryError);
export interface SourceControlRepositoryServiceShape {
readonly lookupRepository: (
@@ -69,7 +70,7 @@ function repositoryError(input: {
function mapRepositoryError(operation: string, provider: SourceControlProviderKind) {
return Effect.mapError((cause: unknown) =>
Schema.is(SourceControlRepositoryError)(cause)
isSourceControlRepositoryError(cause)
? cause
: repositoryError({
operation,