fix: prefer-at disable for backend compat, final lint pass

This commit is contained in:
-Puter
2026-07-23 18:51:49 +05:30
parent 7365322197
commit f3d44ebcfa
8 changed files with 4096 additions and 0 deletions

View File

@@ -284,6 +284,7 @@ export const preparePublicGitSource = (
}
const segments = repositoryPath.split("/").filter((s) => s.length > 0);
// eslint-disable-next-line unicorn/prefer-at -- backend Convex tsconfig targets pre-ES2022
const lastSegment = segments[segments.length - 1];
if (!lastSegment || isWhitespaceOnly(lastSegment)) {
return yield* Effect.fail(INVALID_GIT_URL);