pickier 0.1.7 → 0.1.8

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.
Files changed (187) hide show
  1. package/dist/ast.d.ts +24 -0
  2. package/dist/bin/cli.js +21706 -0
  3. package/dist/config.d.ts +1 -2
  4. package/dist/format.d.ts +1 -24
  5. package/dist/formatter.d.ts +1 -1
  6. package/dist/index.d.ts +8 -10
  7. package/dist/linter.d.ts +17 -2
  8. package/dist/plugins/eslint.d.ts +1 -0
  9. package/dist/plugins/general.d.ts +1 -0
  10. package/dist/plugins/index.d.ts +0 -1
  11. package/dist/plugins/markdown.d.ts +1 -0
  12. package/dist/plugins/pickier.d.ts +0 -2
  13. package/dist/plugins/quality.d.ts +1 -0
  14. package/dist/plugins/regexp.d.ts +0 -2
  15. package/dist/plugins/style.d.ts +0 -2
  16. package/dist/plugins/ts.d.ts +0 -2
  17. package/dist/rules/general/array-callback-return.d.ts +1 -0
  18. package/dist/rules/general/constructor-super.d.ts +1 -0
  19. package/dist/rules/general/for-direction.d.ts +1 -0
  20. package/dist/rules/general/getter-return.d.ts +1 -0
  21. package/dist/rules/general/no-async-promise-executor.d.ts +1 -0
  22. package/dist/rules/general/no-compare-neg-zero.d.ts +1 -0
  23. package/dist/rules/general/no-cond-assign.d.ts +1 -0
  24. package/dist/rules/general/no-const-assign.d.ts +1 -0
  25. package/dist/rules/general/no-constant-condition.d.ts +1 -0
  26. package/dist/rules/general/no-constructor-return.d.ts +1 -0
  27. package/dist/rules/general/no-dupe-class-members.d.ts +1 -0
  28. package/dist/rules/general/no-dupe-keys.d.ts +1 -0
  29. package/dist/rules/general/no-duplicate-case.d.ts +1 -0
  30. package/dist/rules/general/no-empty-pattern.d.ts +1 -0
  31. package/dist/rules/general/no-fallthrough.d.ts +1 -0
  32. package/dist/rules/general/no-irregular-whitespace.d.ts +1 -0
  33. package/dist/rules/general/no-loss-of-precision.d.ts +1 -0
  34. package/dist/rules/general/no-promise-executor-return.d.ts +1 -0
  35. package/dist/rules/general/no-redeclare.d.ts +1 -0
  36. package/dist/rules/general/no-self-assign.d.ts +1 -0
  37. package/dist/rules/general/no-self-compare.d.ts +1 -0
  38. package/dist/rules/general/no-sparse-arrays.d.ts +1 -0
  39. package/dist/rules/general/no-undef.d.ts +1 -0
  40. package/dist/rules/general/no-unreachable.d.ts +1 -0
  41. package/dist/rules/general/no-unsafe-negation.d.ts +1 -0
  42. package/dist/rules/general/no-unused-vars.d.ts +1 -0
  43. package/dist/rules/general/no-useless-catch.d.ts +1 -0
  44. package/dist/rules/general/prefer-const.d.ts +1 -0
  45. package/dist/rules/general/prefer-object-spread.d.ts +1 -0
  46. package/dist/rules/general/prefer-template.d.ts +7 -0
  47. package/dist/rules/general/use-isnan.d.ts +1 -0
  48. package/dist/rules/general/valid-typeof.d.ts +1 -0
  49. package/dist/rules/imports/first.d.ts +1 -0
  50. package/dist/rules/imports/import-dedupe.d.ts +1 -0
  51. package/dist/rules/imports/named.d.ts +1 -0
  52. package/dist/rules/imports/no-cycle.d.ts +1 -0
  53. package/dist/rules/imports/no-duplicate-imports.d.ts +1 -0
  54. package/dist/rules/imports/no-import-dist.d.ts +1 -0
  55. package/dist/rules/imports/no-import-node-modules-by-path.d.ts +1 -0
  56. package/dist/rules/imports/no-unresolved.d.ts +1 -0
  57. package/dist/rules/markdown/blanks-around-fences.d.ts +4 -0
  58. package/dist/rules/markdown/blanks-around-headings.d.ts +4 -0
  59. package/dist/rules/markdown/blanks-around-lists.d.ts +4 -0
  60. package/dist/rules/markdown/blanks-around-tables.d.ts +4 -0
  61. package/dist/rules/markdown/code-block-style.d.ts +4 -0
  62. package/dist/rules/markdown/code-fence-style.d.ts +4 -0
  63. package/dist/rules/markdown/commands-show-output.d.ts +4 -0
  64. package/dist/rules/markdown/descriptive-link-text.d.ts +4 -0
  65. package/dist/rules/markdown/emphasis-style.d.ts +4 -0
  66. package/dist/rules/markdown/fenced-code-language.d.ts +4 -0
  67. package/dist/rules/markdown/first-line-heading.d.ts +4 -0
  68. package/dist/rules/markdown/heading-increment.d.ts +4 -0
  69. package/dist/rules/markdown/heading-start-left.d.ts +4 -0
  70. package/dist/rules/markdown/heading-style.d.ts +4 -0
  71. package/dist/rules/markdown/hr-style.d.ts +4 -0
  72. package/dist/rules/markdown/line-length.d.ts +4 -0
  73. package/dist/rules/markdown/link-fragments.d.ts +4 -0
  74. package/dist/rules/markdown/link-image-reference-definitions.d.ts +4 -0
  75. package/dist/rules/markdown/link-image-style.d.ts +4 -0
  76. package/dist/rules/markdown/list-indent.d.ts +4 -0
  77. package/dist/rules/markdown/list-marker-space.d.ts +4 -0
  78. package/dist/rules/markdown/no-alt-text.d.ts +4 -0
  79. package/dist/rules/markdown/no-bare-urls.d.ts +4 -0
  80. package/dist/rules/markdown/no-blanks-blockquote.d.ts +4 -0
  81. package/dist/rules/markdown/no-duplicate-heading.d.ts +4 -0
  82. package/dist/rules/markdown/no-emphasis-as-heading.d.ts +4 -0
  83. package/dist/rules/markdown/no-empty-links.d.ts +4 -0
  84. package/dist/rules/markdown/no-hard-tabs.d.ts +4 -0
  85. package/dist/rules/markdown/no-inline-html.d.ts +4 -0
  86. package/dist/rules/markdown/no-missing-space-atx.d.ts +4 -0
  87. package/dist/rules/markdown/no-missing-space-closed-atx.d.ts +4 -0
  88. package/dist/rules/markdown/no-multiple-blanks.d.ts +4 -0
  89. package/dist/rules/markdown/no-multiple-space-atx.d.ts +4 -0
  90. package/dist/rules/markdown/no-multiple-space-blockquote.d.ts +4 -0
  91. package/dist/rules/markdown/no-multiple-space-closed-atx.d.ts +4 -0
  92. package/dist/rules/markdown/no-reversed-links.d.ts +4 -0
  93. package/dist/rules/markdown/no-space-in-code.d.ts +4 -0
  94. package/dist/rules/markdown/no-space-in-emphasis.d.ts +4 -0
  95. package/dist/rules/markdown/no-space-in-links.d.ts +4 -0
  96. package/dist/rules/markdown/no-trailing-punctuation.d.ts +4 -0
  97. package/dist/rules/markdown/no-trailing-spaces.d.ts +4 -0
  98. package/dist/rules/markdown/ol-prefix.d.ts +4 -0
  99. package/dist/rules/markdown/proper-names.d.ts +4 -0
  100. package/dist/rules/markdown/reference-links-images.d.ts +4 -0
  101. package/dist/rules/markdown/required-headings.d.ts +4 -0
  102. package/dist/rules/markdown/single-title.d.ts +4 -0
  103. package/dist/rules/markdown/single-trailing-newline.d.ts +4 -0
  104. package/dist/rules/markdown/strong-style.d.ts +4 -0
  105. package/dist/rules/markdown/table-column-count.d.ts +4 -0
  106. package/dist/rules/markdown/table-column-style.d.ts +4 -0
  107. package/dist/rules/markdown/table-pipe-style.d.ts +4 -0
  108. package/dist/rules/markdown/ul-indent.d.ts +4 -0
  109. package/dist/rules/markdown/ul-style.d.ts +4 -0
  110. package/dist/rules/quality/complexity.d.ts +1 -0
  111. package/dist/rules/quality/default-case.d.ts +1 -0
  112. package/dist/rules/quality/eqeqeq.d.ts +1 -0
  113. package/dist/rules/quality/max-depth.d.ts +1 -0
  114. package/dist/rules/quality/max-lines-per-function.d.ts +1 -0
  115. package/dist/rules/quality/no-alert.d.ts +1 -0
  116. package/dist/rules/quality/no-await-in-loop.d.ts +1 -0
  117. package/dist/rules/quality/no-caller.d.ts +1 -0
  118. package/dist/rules/quality/no-case-declarations.d.ts +1 -0
  119. package/dist/rules/quality/no-else-return.d.ts +1 -0
  120. package/dist/rules/quality/no-empty-function.d.ts +1 -0
  121. package/dist/rules/quality/no-empty.d.ts +1 -0
  122. package/dist/rules/quality/no-eval.d.ts +1 -0
  123. package/dist/rules/quality/no-extend-native.d.ts +1 -0
  124. package/dist/rules/quality/no-extra-boolean-cast.d.ts +1 -0
  125. package/dist/rules/quality/no-global-assign.d.ts +1 -0
  126. package/dist/rules/quality/no-implied-eval.d.ts +1 -0
  127. package/dist/rules/quality/no-iterator.d.ts +1 -0
  128. package/dist/rules/quality/no-lonely-if.d.ts +1 -0
  129. package/dist/rules/quality/no-new-func.d.ts +1 -0
  130. package/dist/rules/quality/no-new-wrappers.d.ts +1 -0
  131. package/dist/rules/quality/no-new.d.ts +1 -0
  132. package/dist/rules/quality/no-octal.d.ts +1 -0
  133. package/dist/rules/quality/no-param-reassign.d.ts +1 -0
  134. package/dist/rules/quality/no-proto.d.ts +1 -0
  135. package/dist/rules/quality/no-return-assign.d.ts +1 -0
  136. package/dist/rules/quality/no-sequences.d.ts +1 -0
  137. package/dist/rules/quality/no-shadow.d.ts +1 -0
  138. package/dist/rules/quality/no-throw-literal.d.ts +1 -0
  139. package/dist/rules/quality/no-use-before-define.d.ts +1 -0
  140. package/dist/rules/quality/no-useless-call.d.ts +1 -0
  141. package/dist/rules/quality/no-useless-concat.d.ts +1 -0
  142. package/dist/rules/quality/no-useless-escape.d.ts +1 -0
  143. package/dist/rules/quality/no-useless-rename.d.ts +1 -0
  144. package/dist/rules/quality/no-useless-return.d.ts +1 -0
  145. package/dist/rules/quality/no-var.d.ts +1 -0
  146. package/dist/rules/quality/no-with.d.ts +1 -0
  147. package/dist/rules/quality/prefer-arrow-callback.d.ts +1 -0
  148. package/dist/rules/quality/require-await.d.ts +1 -0
  149. package/dist/rules/regexp/no-super-linear-backtracking.d.ts +1 -3
  150. package/dist/rules/regexp/no-unused-capturing-group.d.ts +1 -0
  151. package/dist/rules/regexp/no-useless-lazy.d.ts +8 -0
  152. package/dist/rules/sort/exports.d.ts +1 -0
  153. package/dist/rules/sort/heritage-clauses.d.ts +1 -0
  154. package/dist/rules/sort/imports.d.ts +1 -0
  155. package/dist/rules/sort/keys.d.ts +1 -0
  156. package/dist/rules/sort/named-imports.d.ts +1 -0
  157. package/dist/rules/sort/objects.d.ts +1 -0
  158. package/dist/rules/style/brace-style.d.ts +9 -0
  159. package/dist/rules/style/consistent-chaining.d.ts +1 -0
  160. package/dist/rules/style/consistent-list-newline.d.ts +1 -0
  161. package/dist/rules/style/curly.d.ts +4 -3
  162. package/dist/rules/style/if-newline.d.ts +1 -0
  163. package/dist/rules/style/indent-unindent.d.ts +1 -0
  164. package/dist/rules/style/max-statements-per-line.d.ts +1 -3
  165. package/dist/rules/style/top-level-function.d.ts +5 -0
  166. package/dist/rules/ts/no-explicit-any.d.ts +1 -0
  167. package/dist/rules/ts/no-floating-promises.d.ts +1 -0
  168. package/dist/rules/ts/no-misused-promises.d.ts +1 -0
  169. package/dist/rules/ts/no-require-imports.d.ts +1 -3
  170. package/dist/rules/ts/no-top-level-await.d.ts +3 -0
  171. package/dist/rules/ts/no-ts-export-equal.d.ts +1 -0
  172. package/dist/rules/ts/no-unsafe-assignment.d.ts +1 -0
  173. package/dist/rules/ts/prefer-nullish-coalescing.d.ts +1 -0
  174. package/dist/rules/ts/prefer-optional-chain.d.ts +1 -0
  175. package/dist/run.d.ts +2 -27
  176. package/dist/src/index.js +19828 -0
  177. package/dist/types.d.ts +19 -28
  178. package/dist/utils.d.ts +19 -4
  179. package/package.json +15 -2
  180. package/dist/index.js +0 -5832
  181. package/dist/rules/pickier/no-unused-vars.d.ts +0 -3
  182. package/dist/rules/pickier/prefer-const.d.ts +0 -3
  183. package/dist/rules/pickier/sort-heritage-clauses.d.ts +0 -3
  184. package/dist/rules/pickier/sort-imports.d.ts +0 -3
  185. package/dist/rules/pickier/sort-keys.d.ts +0 -3
  186. package/dist/rules/pickier/sort-named-imports.d.ts +0 -3
  187. package/dist/rules/pickier/sort-objects.d.ts +0 -3
package/dist/config.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import type { PickierConfig } from './types';
2
-
3
1
  export declare const defaultConfig: PickierConfig;
2
+ // eslint-disable-next-line antfu/no-top-level-await
4
3
  export declare const config: PickierConfig;
package/dist/format.d.ts CHANGED
@@ -1,29 +1,6 @@
1
1
  import type { PickierConfig } from './types';
2
-
3
- declare const CODE_EXTS: unknown;
4
- declare function getFileExt(filePath: string): string;
5
- declare function isCodeFileExt(filePath: string): boolean;
6
- declare function isJsonFileExt(filePath: string): boolean;
7
- declare function toSpaces(count: number): string;
8
- declare function makeIndent(visualLevels: number, cfg: PickierConfig): string;
9
- declare function convertDoubleToSingle(str: string): string;
10
- declare function convertSingleToDouble(str: string): string;
11
- declare function fixQuotes(content: string, preferred: 'single' | 'double', filePath: string): string;
12
- declare function fixIndentation(content: string, indentSize: number, cfg: PickierConfig): string;
13
- declare function collapseBlankLines(lines: string[], maxConsecutive: number): string[];
14
2
  export declare function formatCode(src: string, cfg: PickierConfig, filePath: string): string;
15
3
  export declare function detectQuoteIssues(line: string, preferred: 'single' | 'double'): number[];
16
4
  export declare function hasIndentIssue(leading: string, indentSize: number, indentStyle?: 'spaces' | 'tabs'): boolean;
17
- declare function maskStrings(input: string): void;
18
- declare function unmaskStrings(text: string, strings: string[]): string;
19
- declare function normalizeCodeSpacing(input: string): string;
20
- declare function removeStylisticSemicolons(input: string): string;
21
5
  export declare function formatImports(source: string): string;
22
- declare function renderImport(imp: ParsedImport): string;
23
- declare function parseImportStatement(stmt: string): ParsedImport | undefined;
24
- declare function trySortKnownJson(input: string, filePath: string): string | null;
25
- declare function parseJsonSafe(text: string): any | null;
26
- declare function sortObjectKeys(obj: Record<string, any>, order: string[], extraAscPatterns?: RegExp[]): Record<string, any>;
27
- declare function sortDepsAsc(obj: Record<string, any>): Record<string, any>;
28
- declare function sortPackageJsonContent(text: string): string;
29
- declare function sortTsconfigContent(text: string): string;
6
+ declare type ImportKind = 'value' | 'type' | 'side-effect'
@@ -1,6 +1,6 @@
1
1
  import type { FormatOptions, LintIssue, PickierConfig } from './types';
2
-
3
2
  export declare function applyPluginFixes(filePath: string, content: string, cfg: PickierConfig): string;
4
3
  export declare function applyFixes(filePath: string, content: string, cfg: PickierConfig): string;
4
+ export declare function formatVerbose(issues: LintIssue[]): string;
5
5
  export declare function formatStylish(issues: LintIssue[]): string;
6
6
  export declare function runFormat(globs: string[], options: FormatOptions): Promise<number>;
package/dist/index.d.ts CHANGED
@@ -1,10 +1,8 @@
1
- export type { RunOptions } from './run'
2
-
3
- export { config, defaultConfig } from './config'
4
- export { runFormat } from './formatter'
5
- export { runLint } from './linter'
6
- export { run } from './run'
7
-
8
- export * from './format'
9
- export * from './types'
10
- export * from './utils'
1
+ export type { RunOptions } from './run';
2
+ export { config, defaultConfig } from './config';
3
+ export * from './format';
4
+ export { runFormat } from './formatter';
5
+ export { lintText, runLint, runLintProgrammatic } from './linter';
6
+ export { runUnified as run } from './run';
7
+ export * from './types';
8
+ export * from './utils';
package/dist/linter.d.ts CHANGED
@@ -1,4 +1,19 @@
1
1
  import type { LintIssue, LintOptions, PickierConfig } from './types';
2
-
2
+ // Programmatic single-text lint with optional cancellation
3
+ export declare function lintText(text: string, cfg: PickierConfig, filePath?: any, signal?: AbortSignal): Promise<LintIssue[]>;
4
+ // Programmatic batch lint returning structured result, with optional cancellation
5
+ export declare function runLintProgrammatic(globs: string[], options: LintOptions, signal?: AbortSignal): Promise<{ errors: number, warnings: number, issues: LintIssue[] }>;
6
+ export declare function applyPlugins(filePath: string, content: string, cfg: PickierConfig): Promise<Array<any>>;
7
+ // Optimized version that accepts pre-computed directive and comment data
8
+ export declare function scanContentOptimized(filePath: string, content: string, cfg: PickierConfig, suppress: DisableDirectives, commentLines: Set<number>): LintIssue[];
3
9
  export declare function scanContent(filePath: string, content: string, cfg: PickierConfig): LintIssue[];
4
- export declare function runLint(globs: string[], options: LintOptions): Promise<number>;
10
+ export declare function runLint(globs: string[], options: LintOptions): Promise<number>;
11
+ declare interface DisableDirectives {
12
+ nextLine: SuppressMap
13
+ fileLevel: Set<string>
14
+ rangeDisable: Map<number, Set<string>>
15
+ rangeEnable: Map<number, Set<string>>
16
+ sortedDisableLines: number[]
17
+ sortedEnableLines: number[]
18
+ }
19
+ declare type SuppressMap = Map<number, Set<string>>
@@ -0,0 +1 @@
1
+ export declare const eslintPlugin: PickierPlugin;
@@ -0,0 +1 @@
1
+ export declare const generalPlugin: PickierPlugin;
@@ -1,3 +1,2 @@
1
1
  import type { PickierPlugin } from '../types';
2
-
3
2
  export declare function getAllPlugins(): PickierPlugin[];
@@ -0,0 +1 @@
1
+ export declare const markdownPlugin: PickierPlugin;
@@ -1,3 +1 @@
1
- import type { PickierPlugin } from '../types';
2
-
3
1
  export declare const pickierPlugin: PickierPlugin;
@@ -0,0 +1 @@
1
+ export declare const qualityPlugin: PickierPlugin;
@@ -1,3 +1 @@
1
- import type { PickierPlugin } from '../types';
2
-
3
1
  export declare const regexpPlugin: PickierPlugin;
@@ -1,3 +1 @@
1
- import type { PickierPlugin } from '../types';
2
-
3
1
  export declare const stylePlugin: PickierPlugin;
@@ -1,3 +1 @@
1
- import type { PickierPlugin } from '../types';
2
-
3
1
  export declare const tsPlugin: PickierPlugin;
@@ -0,0 +1 @@
1
+ export declare const arrayCallbackReturnRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const constructorSuperRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const forDirectionRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const getterReturnRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noAsyncPromiseExecutorRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noCompareNegZeroRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noCondAssignRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noConstAssignRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noConstantConditionRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noConstructorReturnRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noDupeClassMembersRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noDupeKeysRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noDuplicateCaseRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noEmptyPatternRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noFallthroughRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noIrregularWhitespaceRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noLossOfPrecisionRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noPromiseExecutorReturnRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noRedeclareRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noSelfAssignRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noSelfCompareRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noSparseArraysRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noUndefRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noUnreachableRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noUnsafeNegationRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noUnusedVarsRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noUselessCatchRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const preferConstRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const preferObjectSpreadRule: RuleModule;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Prefer template literals over string concatenation
3
+ *
4
+ * Flags cases like: 'hello ' + name + '!'
5
+ * Suggests: `hello ${name}!`
6
+ */
7
+ export declare const preferTemplate: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const useIsNaNRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const validTypeofRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const firstRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const importDedupeRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const namedRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noCycleRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noDuplicateImportsRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noImportDistRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noImportNodeModulesByPathRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const noUnresolvedRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD031 - Fenced code blocks should be surrounded by blank lines
3
+ */
4
+ export declare const blanksAroundFencesRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD022 - Headings should be surrounded by blank lines
3
+ */
4
+ export declare const blanksAroundHeadingsRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD032 - Lists should be surrounded by blank lines
3
+ */
4
+ export declare const blanksAroundListsRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD058 - Tables should be surrounded by blank lines
3
+ */
4
+ export declare const blanksAroundTablesRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD046 - Code block style
3
+ */
4
+ export declare const codeBlockStyleRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD048 - Code fence style
3
+ */
4
+ export declare const codeFenceStyleRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD014 - Dollar signs used before commands without showing output
3
+ */
4
+ export declare const commandsShowOutputRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD059 - Link text should be descriptive
3
+ */
4
+ export declare const descriptiveLinkTextRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD049 - Emphasis style
3
+ */
4
+ export declare const emphasisStyleRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD040 - Fenced code blocks should have a language specified
3
+ */
4
+ export declare const fencedCodeLanguageRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD041 - First line in a file should be a top-level heading
3
+ */
4
+ export declare const firstLineHeadingRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD001 - Heading levels should only increment by one level at a time
3
+ */
4
+ export declare const headingIncrementRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD023 - Headings must start at the beginning of the line
3
+ */
4
+ export declare const headingStartLeftRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD003 - Heading style
3
+ */
4
+ export declare const headingStyleRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD035 - Horizontal rule style
3
+ */
4
+ export declare const hrStyleRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD013 - Line length
3
+ */
4
+ export declare const lineLengthRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD051 - Link fragments should be valid
3
+ */
4
+ export declare const linkFragmentsRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD053 - Link and image reference definitions should be needed
3
+ */
4
+ export declare const linkImageReferenceDefinitionsRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD054 - Link and image style
3
+ */
4
+ export declare const linkImageStyleRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD005 - Inconsistent indentation for list items at the same level
3
+ */
4
+ export declare const listIndentRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD030 - Spaces after list markers
3
+ */
4
+ export declare const listMarkerSpaceRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD045 - Images should have alternate text (alt text)
3
+ */
4
+ export declare const noAltTextRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD034 - Bare URL used
3
+ */
4
+ export declare const noBareUrlsRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD028 - Blank line inside blockquote
3
+ */
4
+ export declare const noBlanksBlockquoteRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD024 - Multiple headings with the same content
3
+ */
4
+ export declare const noDuplicateHeadingRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD036 - Emphasis used instead of a heading
3
+ */
4
+ export declare const noEmphasisAsHeadingRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD042 - No empty links
3
+ */
4
+ export declare const noEmptyLinksRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD010 - Hard tabs
3
+ */
4
+ export declare const noHardTabsRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD033 - Inline HTML
3
+ */
4
+ export declare const noInlineHtmlRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD018 - No space after hash on atx style heading
3
+ */
4
+ export declare const noMissingSpaceAtxRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD020 - No space inside hashes on closed atx style heading
3
+ */
4
+ export declare const noMissingSpaceClosedAtxRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD012 - Multiple consecutive blank lines
3
+ */
4
+ export declare const noMultipleBlanksRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD019 - Multiple spaces after hash on atx style heading
3
+ */
4
+ export declare const noMultipleSpaceAtxRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD027 - Multiple spaces after blockquote symbol
3
+ */
4
+ export declare const noMultipleSpaceBlockquoteRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD021 - Multiple spaces inside hashes on closed atx style heading
3
+ */
4
+ export declare const noMultipleSpaceClosedAtxRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD011 - Reversed link syntax
3
+ */
4
+ export declare const noReversedLinksRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD038 - Spaces inside code span elements
3
+ */
4
+ export declare const noSpaceInCodeRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD037 - Spaces inside emphasis markers
3
+ */
4
+ export declare const noSpaceInEmphasisRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD039 - Spaces inside link text
3
+ */
4
+ export declare const noSpaceInLinksRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD026 - Trailing punctuation in heading
3
+ */
4
+ export declare const noTrailingPunctuationRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD009 - Trailing spaces
3
+ */
4
+ export declare const noTrailingSpacesRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD029 - Ordered list item prefix
3
+ */
4
+ export declare const olPrefixRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD044 - Proper names should have the correct capitalization
3
+ */
4
+ export declare const properNamesRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD052 - Reference links and images should use a label that is defined
3
+ */
4
+ export declare const referenceLinksImagesRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD043 - Required heading structure
3
+ */
4
+ export declare const requiredHeadingsRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD025 - Multiple top-level headings in the same document
3
+ */
4
+ export declare const singleTitleRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD047 - Files should end with a single newline character
3
+ */
4
+ export declare const singleTrailingNewlineRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD050 - Strong style
3
+ */
4
+ export declare const strongStyleRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD056 - Table column count
3
+ */
4
+ export declare const tableColumnCountRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD060 - Table column style
3
+ */
4
+ export declare const tableColumnStyleRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD055 - Table pipe style
3
+ */
4
+ export declare const tablePipeStyleRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD007 - Unordered list indentation
3
+ */
4
+ export declare const ulIndentRule: RuleModule;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MD004 - Unordered list style
3
+ */
4
+ export declare const ulStyleRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const complexityRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const defaultCaseRule: RuleModule;
@@ -0,0 +1 @@
1
+ export declare const eqeqeqRule: RuleModule;