eslint-plugin-markdown-preferences 0.3.0 → 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 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.0";
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
@@ -126,7 +126,7 @@ var no_text_backslash_linebreak_default = createRule("no-text-backslash-linebrea
126
126
 
127
127
  //#endregion
128
128
  //#region src/rules/no-trailing-spaces.ts
129
- const htmlComment = /<!--.*?-->/gsu;
129
+ const htmlComment = /<!--.*?-->/su;
130
130
  var no_trailing_spaces_default = createRule("no-trailing-spaces", {
131
131
  meta: {
132
132
  type: "layout",
@@ -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.0";
385
+ const version = "0.3.2";
386
386
 
387
387
  //#endregion
388
388
  //#region src/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-markdown-preferences",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "ESLint plugin that enforces our markdown preferences",
5
5
  "type": "module",
6
6
  "exports": {