Skip to content

Commit

Permalink
add remark-lint-no-thematic-break to remark-config
Browse files Browse the repository at this point in the history
  • Loading branch information
sshakndr committed Dec 24, 2024
1 parent 74d181f commit 28b1168
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/remark-config/lib/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -143,6 +144,7 @@ export function remarkConfig(): Preset {
remarkLintNoShortcutReferenceLink,
remarkLintNoTableIndentation,
remarkLintNoTabs,
remarkLintNoThematicBreak,
remarkLintNoUndefinedReferences,
[remarkLintNoUnicode, {
hints: [
Expand Down
1 change: 1 addition & 0 deletions packages/remark-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 28b1168

Please sign in to comment.