eslint-plugin-markdown-preferences 0.3.1 → 0.3.2
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/lib/index.d.ts +1 -1
- package/lib/index.js +3 -3
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ declare namespace meta_d_exports {
|
|
|
19
19
|
export { name, version };
|
|
20
20
|
}
|
|
21
21
|
declare const name: "eslint-plugin-markdown-preferences";
|
|
22
|
-
declare const version: "0.3.
|
|
22
|
+
declare const version: "0.3.2";
|
|
23
23
|
//#endregion
|
|
24
24
|
//#region src/index.d.ts
|
|
25
25
|
declare const configs: {
|
package/lib/index.js
CHANGED
|
@@ -274,11 +274,11 @@ var prefer_linked_words_default = createRule("prefer-linked-words", {
|
|
|
274
274
|
const wordEntries = (Array.isArray(words) ? words.map((word) => [word, void 0]) : Object.entries(words)).map(([word, link]) => [word, link ? adjustLink(link) : void 0]).filter(([, link]) => link !== `./${path.basename(context.filename)}`);
|
|
275
275
|
let ignore = null;
|
|
276
276
|
return {
|
|
277
|
-
"link, linkReference, heading"(node) {
|
|
277
|
+
"link, linkReference, heading, footnoteDefinition"(node) {
|
|
278
278
|
if (ignore) return;
|
|
279
279
|
ignore = node;
|
|
280
280
|
},
|
|
281
|
-
"link, linkReference, heading:exit"(node) {
|
|
281
|
+
"link, linkReference, heading, footnoteDefinition:exit"(node) {
|
|
282
282
|
if (ignore === node) ignore = null;
|
|
283
283
|
},
|
|
284
284
|
text(node) {
|
|
@@ -382,7 +382,7 @@ __export(meta_exports, {
|
|
|
382
382
|
version: () => version
|
|
383
383
|
});
|
|
384
384
|
const name = "eslint-plugin-markdown-preferences";
|
|
385
|
-
const version = "0.3.
|
|
385
|
+
const version = "0.3.2";
|
|
386
386
|
|
|
387
387
|
//#endregion
|
|
388
388
|
//#region src/index.ts
|