Skip to content

Update markdown list item lint rule #1550

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import remarkHeadingId from "remark-heading-id";
import remarkHeadings from "./remark-headings.js";
import remarkPresetLintMarkdownStyleGuide from "remark-preset-lint-markdown-style-guide";
import remarkLintMaximumHeadingLength from "remark-lint-maximum-heading-length";
import remarkLintListItemIndent from "remark-lint-list-item-indent";
import remarkRehype from "remark-rehype";
import remarkReferenceLinks from "./remark-reference-links.js";
import remarkTableOfContents from "./remark-table-of-contents.js";
Expand All @@ -27,6 +28,7 @@ const build = async (filePath) => {
const file = await remark()
.use(remarkPresetLintMarkdownStyleGuide)
.use(remarkLintMaximumHeadingLength, false)
.use(remarkLintListItemIndent, "one")
.use(remarkGfm)
.use(remarkHeadingId)
.use(remarkHeadings, {
Expand Down
4 changes: 2 additions & 2 deletions proposals/propertyDependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ The `propertyDependencies` keyword will be added to the
`https://json-schema.org/vocab/applicator` [applicator
vocabulary](../jsonschema-core.html#applicatorvocab).

1. The following will be added to the JSON Schema Core specification as a
1. The following will be added to the JSON Schema Core specification as a
subsection of "Keywords for Applying Subschemas Conditionally".
> ### `propertyDependencies`
>
Expand All @@ -110,7 +110,7 @@ subsection of "Keywords for Applying Subschemas Conditionally".
>
> Omitting this keyword has the same behavior as an empty object.

2. The following subschema will be added to the Applicator Vocabulary schema,
2. The following subschema will be added to the Applicator Vocabulary schema,
`https://json-schema.org/<version>/<release>/meta/applicator` at
`/properties/propertyDependencies`:

Expand Down
Loading