Skip to content

Commit 8663831

Browse files
committed
alphabetical order of case statements
1 parent ef2b015 commit 8663831

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/data/api.data.ts

+5-3
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ function getHref(name: string, path: string): string {
6262
}
6363
break;
6464
}
65-
case "marks/crosshair":
66-
return "interactions/crosshair";
6765
case "marks/brush":
6866
return "interactions/brush";
67+
case "marks/crosshair":
68+
return "interactions/crosshair";
6969
case "transforms/basic": {
7070
switch (name) {
7171
case "filter":
@@ -141,7 +141,9 @@ export default {
141141
throw new Error(`anchor not found: ${href}#${name}`);
142142
}
143143
}
144-
for (const {context: {href}} of allOptions) {
144+
for (const {
145+
context: {href}
146+
} of allOptions) {
145147
if (!anchors.has(`/${href}.md`)) {
146148
throw new Error(`file not found: ${href}`);
147149
}

0 commit comments

Comments
 (0)