From 28b11689df9b958e9b1fbecdfe14f1cf275345b0 Mon Sep 17 00:00:00 2001 From: sshakndr Date: Tue, 24 Dec 2024 15:30:20 +0700 Subject: [PATCH] add remark-lint-no-thematic-break to remark-config --- packages/remark-config/lib/main.ts | 2 ++ packages/remark-config/package.json | 1 + pnpm-lock.yaml | 3 +++ 3 files changed, 6 insertions(+) diff --git a/packages/remark-config/lib/main.ts b/packages/remark-config/lib/main.ts index f37ec786c..32a5345fc 100644 --- a/packages/remark-config/lib/main.ts +++ b/packages/remark-config/lib/main.ts @@ -4,6 +4,7 @@ // https://github.com/remarkjs/remark-lint/tree/10.0.0/packages/remark-lint-no-html import {remarkLintEslint} from "@onlyoffice/remark-lint-eslint" +import {remarkLintNoThematicBreak} from "@onlyoffice/remark-lint-no-thematic-break" import {remarkLintNoUnicode} from "@onlyoffice/remark-lint-no-unicode" import remarkLint from "remark-lint" import remarkLintBlockquoteIndentation from "remark-lint-blockquote-indentation" @@ -143,6 +144,7 @@ export function remarkConfig(): Preset { remarkLintNoShortcutReferenceLink, remarkLintNoTableIndentation, remarkLintNoTabs, + remarkLintNoThematicBreak, remarkLintNoUndefinedReferences, [remarkLintNoUnicode, { hints: [ diff --git a/packages/remark-config/package.json b/packages/remark-config/package.json index 652598466..c97b2e169 100644 --- a/packages/remark-config/package.json +++ b/packages/remark-config/package.json @@ -14,6 +14,7 @@ }, "dependencies": { "@onlyoffice/remark-lint-eslint": "workspace:^", + "@onlyoffice/remark-lint-no-thematic-break": "workspace:^", "@onlyoffice/remark-lint-no-unicode": "workspace:^", "remark-lint": "10.0.0", "remark-lint-blockquote-indentation": "4.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 755582d3c..683633cec 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2284,6 +2284,9 @@ importers: '@onlyoffice/remark-lint-eslint': specifier: workspace:^ version: link:../remark-lint-eslint + '@onlyoffice/remark-lint-no-thematic-break': + specifier: workspace:^ + version: link:../remark-lint-no-thematic-break '@onlyoffice/remark-lint-no-unicode': specifier: workspace:^ version: link:../remark-lint-no-unicode