Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyreilly committed Jan 2, 2024
1 parent 84693ec commit bf230e4
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 37 deletions.
2 changes: 1 addition & 1 deletion dist/main.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion dist/validate.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ import { type ValidationResult } from "./validationResult.js";
export declare function getValidationResponse(url: string): Promise<string>;
export declare function processValidationResponse(url: string, responseText: string): ValidationResult | string;
export declare function processValidationResult(validationResult: ValidationResult | string): ProcessedValidationResult;
export declare function seeMoreMaker(url: string): string;
2 changes: 1 addition & 1 deletion dist/validate.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

64 changes: 32 additions & 32 deletions dist/validationResult.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ declare const nodeSchema: z.ZodObject<{
SPORE: string;
}>;
}, "strip", z.ZodTypeAny, {
begin: number;
end: number;
ownerSet: {
SPORE: boolean;
};
begin: number;
end: number;
errorType: string;
args: string[];
isSevere: boolean;
Expand All @@ -93,11 +93,11 @@ declare const nodeSchema: z.ZodObject<{
SPORE: string;
};
}, {
begin: number;
end: number;
ownerSet: {
SPORE: boolean;
};
begin: number;
end: number;
errorType: string;
args: string[];
isSevere: boolean;
Expand Down Expand Up @@ -130,11 +130,11 @@ declare const nodeSchema: z.ZodObject<{
numWarnings: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
errors: {
begin: number;
end: number;
ownerSet: {
SPORE: boolean;
};
begin: number;
end: number;
errorType: string;
args: string[];
isSevere: boolean;
Expand Down Expand Up @@ -170,11 +170,11 @@ declare const nodeSchema: z.ZodObject<{
} | undefined;
}, {
errors: {
begin: number;
end: number;
ownerSet: {
SPORE: boolean;
};
begin: number;
end: number;
errorType: string;
args: string[];
isSevere: boolean;
Expand Down Expand Up @@ -279,11 +279,11 @@ export declare const validationResultSchema: z.ZodObject<{
SPORE: string;
}>;
}, "strip", z.ZodTypeAny, {
begin: number;
end: number;
ownerSet: {
SPORE: boolean;
};
begin: number;
end: number;
errorType: string;
args: string[];
isSevere: boolean;
Expand All @@ -292,11 +292,11 @@ export declare const validationResultSchema: z.ZodObject<{
SPORE: string;
};
}, {
begin: number;
end: number;
ownerSet: {
SPORE: boolean;
};
begin: number;
end: number;
errorType: string;
args: string[];
isSevere: boolean;
Expand Down Expand Up @@ -329,11 +329,11 @@ export declare const validationResultSchema: z.ZodObject<{
numWarnings: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
errors: {
begin: number;
end: number;
ownerSet: {
SPORE: boolean;
};
begin: number;
end: number;
errorType: string;
args: string[];
isSevere: boolean;
Expand Down Expand Up @@ -369,11 +369,11 @@ export declare const validationResultSchema: z.ZodObject<{
} | undefined;
}, {
errors: {
begin: number;
end: number;
ownerSet: {
SPORE: boolean;
};
begin: number;
end: number;
errorType: string;
args: string[];
isSevere: boolean;
Expand Down Expand Up @@ -419,11 +419,11 @@ export declare const validationResultSchema: z.ZodObject<{
numWarnings: number;
nodes: {
errors: {
begin: number;
end: number;
ownerSet: {
SPORE: boolean;
};
begin: number;
end: number;
errorType: string;
args: string[];
isSevere: boolean;
Expand Down Expand Up @@ -467,11 +467,11 @@ export declare const validationResultSchema: z.ZodObject<{
numWarnings: number;
nodes: {
errors: {
begin: number;
end: number;
ownerSet: {
SPORE: boolean;
};
begin: number;
end: number;
errorType: string;
args: string[];
isSevere: boolean;
Expand Down Expand Up @@ -533,11 +533,11 @@ export declare const validationResultSchema: z.ZodObject<{
SPORE: string;
}>;
}, "strip", z.ZodTypeAny, {
begin: number;
end: number;
ownerSet: {
SPORE: boolean;
};
begin: number;
end: number;
errorType: string;
args: string[];
isSevere: boolean;
Expand All @@ -546,11 +546,11 @@ export declare const validationResultSchema: z.ZodObject<{
SPORE: string;
};
}, {
begin: number;
end: number;
ownerSet: {
SPORE: boolean;
};
begin: number;
end: number;
errorType: string;
args: string[];
isSevere: boolean;
Expand All @@ -574,11 +574,11 @@ export declare const validationResultSchema: z.ZodObject<{
numWarnings: number;
nodes: {
errors: {
begin: number;
end: number;
ownerSet: {
SPORE: boolean;
};
begin: number;
end: number;
errorType: string;
args: string[];
isSevere: boolean;
Expand Down Expand Up @@ -619,11 +619,11 @@ export declare const validationResultSchema: z.ZodObject<{
}[] | undefined;
html?: string | undefined;
errors?: {
begin: number;
end: number;
ownerSet: {
SPORE: boolean;
};
begin: number;
end: number;
errorType: string;
args: string[];
isSevere: boolean;
Expand All @@ -645,11 +645,11 @@ export declare const validationResultSchema: z.ZodObject<{
numWarnings: number;
nodes: {
errors: {
begin: number;
end: number;
ownerSet: {
SPORE: boolean;
};
begin: number;
end: number;
errorType: string;
args: string[];
isSevere: boolean;
Expand Down Expand Up @@ -690,11 +690,11 @@ export declare const validationResultSchema: z.ZodObject<{
}[] | undefined;
html?: string | undefined;
errors?: {
begin: number;
end: number;
ownerSet: {
SPORE: boolean;
};
begin: number;
end: number;
errorType: string;
args: string[];
isSevere: boolean;
Expand Down
1 change: 0 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import {
processValidationResult,
processValidationResponse,
getValidationResponse,
seeMoreMaker,
} from "./validate.js";
import type { Result } from "./validationResult.js";

Expand Down
2 changes: 1 addition & 1 deletion src/validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ ${seeMore}
};
}

export function seeMoreMaker(url: string) {
function seeMoreMaker(url: string) {
return `For more details see https://validator.schema.org/#url=${encodeURIComponent(
url,
)}`;
Expand Down

0 comments on commit bf230e4

Please sign in to comment.