@okfit/core 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/internal/lintRules.js +1 -1
- package/package.json +1 -1
package/internal/lintRules.js
CHANGED
|
@@ -62,7 +62,7 @@ const footnoteSourceUnknown = rule("footnote-source-unknown", (context, severity
|
|
|
62
62
|
if (label === void 0 || ids.has(label) || seen.has(label)) continue;
|
|
63
63
|
seen.add(label);
|
|
64
64
|
const range = DiagnosticRange.fromOffset(source, start + match.index, match[0].length);
|
|
65
|
-
out.push(diagnostic(concept.path, "footnote-source-unknown", severity, `Footnote label "${label}"
|
|
65
|
+
out.push(diagnostic(concept.path, "footnote-source-unknown", severity, `Footnote label "${label}" must equal a sources[].id exactly (declared: ${[...ids].join(", ")})`, range));
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
return out;
|
package/package.json
CHANGED