Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e75ff69

Browse files
Update markdown list item lint rule
1 parent 08943f7 commit e75ff69

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎build/build.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import remarkHeadingId from "remark-heading-id";
1212
import remarkHeadings from "./remark-headings.js";
1313
import remarkPresetLintMarkdownStyleGuide from "remark-preset-lint-markdown-style-guide";
1414
import remarkLintMaximumHeadingLength from "remark-lint-maximum-heading-length";
15+
import remarkLintListItemIndent from "remark-lint-list-item-indent";
1516
import remarkRehype from "remark-rehype";
1617
import remarkReferenceLinks from "./remark-reference-links.js";
1718
import remarkTableOfContents from "./remark-table-of-contents.js";
@@ -27,6 +28,7 @@ const build = async (filePath) => {
2728
const file = await remark()
2829
.use(remarkPresetLintMarkdownStyleGuide)
2930
.use(remarkLintMaximumHeadingLength, false)
31+
.use(remarkLintListItemIndent, "one")
3032
.use(remarkGfm)
3133
.use(remarkHeadingId)
3234
.use(remarkHeadings, {

‎proposals/propertyDependencies.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ The `propertyDependencies` keyword will be added to the
9393
`https://json-schema.org/vocab/applicator` [applicator
9494
vocabulary](../jsonschema-core.html#applicatorvocab).
9595

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

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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /