eslint-plugin-markdown-preferences 0.36.1 → 0.36.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
@@ -373,7 +373,6 @@ type MarkdownPreferencesLinkBracketSpacing = [] | [{
373
373
  type MarkdownPreferencesLinkDestinationStyle = [] | [{
374
374
  style?: ("bare" | "pointy-brackets");
375
375
  avoidEscape?: boolean;
376
- [k: string]: unknown | undefined;
377
376
  }];
378
377
  type MarkdownPreferencesLinkParenNewline = [] | [{
379
378
  newline?: ("always" | "never" | "consistent");
@@ -385,7 +384,6 @@ type MarkdownPreferencesLinkParenSpacing = [] | [{
385
384
  type MarkdownPreferencesLinkTitleStyle = [] | [{
386
385
  style?: ("double" | "single" | "parentheses");
387
386
  avoidEscape?: boolean;
388
- [k: string]: unknown | undefined;
389
387
  }];
390
388
  type MarkdownPreferencesListMarkerAlignment = [] | [{
391
389
  align?: ("left" | "right");
@@ -438,9 +436,7 @@ type MarkdownPreferencesPreferInlineCodeWords = [] | [{
438
436
  node?: {
439
437
  [k: string]: unknown | undefined;
440
438
  };
441
- [k: string]: unknown | undefined;
442
439
  }[];
443
- [k: string]: unknown | undefined;
444
440
  }];
445
441
  type MarkdownPreferencesPreferLinkReferenceDefinitions = [] | [{
446
442
  minLinks?: number;
@@ -454,9 +450,7 @@ type MarkdownPreferencesPreferLinkedWords = [] | [{
454
450
  node?: {
455
451
  [k: string]: unknown | undefined;
456
452
  };
457
- [k: string]: unknown | undefined;
458
453
  }[];
459
- [k: string]: unknown | undefined;
460
454
  }];
461
455
  type MarkdownPreferencesSetextHeadingUnderlineLength = [] | [{
462
456
  mode?: ("exact" | "minimum" | "consistent" | "consistent-line-length");
@@ -545,7 +539,7 @@ declare namespace meta_d_exports {
545
539
  export { name, version };
546
540
  }
547
541
  declare const name: "eslint-plugin-markdown-preferences";
548
- declare const version: "0.36.1";
542
+ declare const version: "0.36.2";
549
543
  //#endregion
550
544
  //#region src/language/ast-types.d.ts
551
545
  type Node = mdast.Node;
package/lib/index.js CHANGED
@@ -7083,7 +7083,8 @@ var link_destination_style_default = createRule("link-destination-style", {
7083
7083
  properties: {
7084
7084
  style: { enum: ["bare", "pointy-brackets"] },
7085
7085
  avoidEscape: { type: "boolean" }
7086
- }
7086
+ },
7087
+ additionalProperties: false
7087
7088
  }],
7088
7089
  messages: {
7089
7090
  expectedBare: "Link destination should not be enclosed in pointy brackets.",
@@ -7517,7 +7518,8 @@ var link_title_style_default = createRule("link-title-style", {
7517
7518
  "parentheses"
7518
7519
  ] },
7519
7520
  avoidEscape: { type: "boolean" }
7520
- }
7521
+ },
7522
+ additionalProperties: false
7521
7523
  }],
7522
7524
  messages: {
7523
7525
  expectedDouble: "Expected link title to be double quoted.",
@@ -9687,7 +9689,7 @@ const IGNORES_SCHEMA = {
9687
9689
  }] },
9688
9690
  node: { type: "object" }
9689
9691
  },
9690
- additionalProperties: true
9692
+ additionalProperties: false
9691
9693
  }
9692
9694
  };
9693
9695
  /**
@@ -9750,7 +9752,7 @@ var prefer_inline_code_words_default = createRule("prefer-inline-code-words", {
9750
9752
  ignores: IGNORES_SCHEMA
9751
9753
  },
9752
9754
  required: ["words"],
9753
- additionalProperties: true
9755
+ additionalProperties: false
9754
9756
  }],
9755
9757
  messages: { requireInlineCode: "The word \"{{name}}\" should be in inline code." }
9756
9758
  },
@@ -9993,7 +9995,7 @@ var prefer_linked_words_default = createRule("prefer-linked-words", {
9993
9995
  ignores: IGNORES_SCHEMA
9994
9996
  },
9995
9997
  required: ["words"],
9996
- additionalProperties: true
9998
+ additionalProperties: false
9997
9999
  }],
9998
10000
  messages: { requireLink: "The word \"{{name}}\" should be a link." }
9999
10001
  },
@@ -12226,7 +12228,7 @@ var meta_exports = /* @__PURE__ */ __export({
12226
12228
  version: () => version
12227
12229
  });
12228
12230
  const name = "eslint-plugin-markdown-preferences";
12229
- const version = "0.36.1";
12231
+ const version = "0.36.2";
12230
12232
 
12231
12233
  //#endregion
12232
12234
  //#region src/language/extensions/micromark-custom-container.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-markdown-preferences",
3
- "version": "0.36.1",
3
+ "version": "0.36.2",
4
4
  "description": "ESLint plugin that enforces our markdown preferences",
5
5
  "type": "module",
6
6
  "exports": {