eslint-plugin-markdown-preferences 0.40.2 → 0.41.0

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.
@@ -0,0 +1,13 @@
1
+ //#region \0rolldown/runtime.js
2
+ var __defProp = Object.defineProperty;
3
+ var __exportAll = (all, no_symbols) => {
4
+ let target = {};
5
+ for (var name in all) __defProp(target, name, {
6
+ get: all[name],
7
+ enumerable: true
8
+ });
9
+ if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
10
+ return target;
11
+ };
12
+ //#endregion
13
+ export { __exportAll as t };
package/lib/index.d.ts CHANGED
@@ -1,10 +1,9 @@
1
- import markdown, { MarkdownSourceCode } from "@eslint/markdown";
1
+ import * as eslint from "@eslint/markdown";
2
+ import { MarkdownLanguageContext, MarkdownLanguageOptions, MarkdownSourceCode } from "@eslint/markdown";
2
3
  import * as math from "mdast-util-math";
3
- import * as _eslint_core0 from "@eslint/core";
4
+ import * as _$_eslint_core0 from "@eslint/core";
4
5
  import { File, Language, OkParseResult, ParseResult, RuleDefinition, SourceLocation } from "@eslint/core";
5
6
  import { ESLint, Linter } from "eslint";
6
- import * as eslint from "@eslint/markdown/types";
7
- import { MarkdownLanguageContext, MarkdownLanguageOptions } from "@eslint/markdown/types";
8
7
  import * as mdast from "mdast";
9
8
  import { TextSourceCodeBase } from "@eslint/plugin-kit";
10
9
 
@@ -623,7 +622,7 @@ declare const languageOptions$1: {
623
622
  frontmatter: string;
624
623
  };
625
624
  declare const plugins$1: {
626
- markdown: typeof markdown;
625
+ markdown: ESLint.Plugin;
627
626
  readonly "markdown-preferences": ESLint.Plugin;
628
627
  };
629
628
  declare const rules$2: Linter.RulesRecord;
@@ -637,15 +636,15 @@ declare const languageOptions: {
637
636
  frontmatter: string;
638
637
  };
639
638
  declare const plugins: {
640
- markdown: typeof markdown;
639
+ markdown: ESLint.Plugin;
641
640
  readonly "markdown-preferences": ESLint.Plugin;
642
641
  };
643
642
  declare const rules$1: Linter.RulesRecord;
644
643
  declare namespace meta_d_exports {
645
644
  export { name, version };
646
645
  }
647
- declare const name: "eslint-plugin-markdown-preferences";
648
- declare const version: "0.40.2";
646
+ declare const name: string;
647
+ declare const version: string;
649
648
  //#endregion
650
649
  //#region src/language/ast-types.d.ts
651
650
  type Node = mdast.Node;
@@ -826,7 +825,7 @@ declare const _default: {
826
825
  recommended: typeof recommended_d_exports;
827
826
  standard: typeof standard_d_exports;
828
827
  };
829
- rules: Record<string, RuleDefinition<_eslint_core0.RuleDefinitionTypeOptions>>;
828
+ rules: Record<string, RuleDefinition<_$_eslint_core0.RuleDefinitionTypeOptions>>;
830
829
  resources: {
831
830
  defaultPreserveWords: string[];
832
831
  defaultMinorWords: string[];