Skip to content

Commit 262e7df

Browse files
authored
remove unused css class, add remark-lint-heading-increment to lint consistent heading increment in docs (graphql#1681)
1 parent 4b451a9 commit 262e7df

File tree

5 files changed

+20
-5
lines changed

5 files changed

+20
-5
lines changed

.remarkrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ export default {
22
plugins: [
33
"frontmatter", // Required to parse frontmatter for linting
44
"remark-lint-first-heading-level",
5+
"remark-lint-heading-increment",
56
],
67
}

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
"prettier": "3.2.5",
7676
"remark-frontmatter": "5.0.0",
7777
"remark-lint-first-heading-level": "3.1.2",
78+
"remark-lint-heading-increment": "3.1.2",
7879
"typescript": "^5.4.3"
7980
},
8081
"pnpm": {

patches/[email protected]

-26.7 KB
Binary file not shown.

pnpm-lock.yaml

+17-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/index-page/without-version.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export function WithoutVersion() {
4343
</div>
4444
<div
4545
className={clsx(
46-
"window type-evolution mx-auto",
46+
"type-evolution mx-auto",
4747
"[&_div.nextra-code]:h-full",
4848
"[&_pre]:ring-0 border rounded-md border-gray-300 dark:border-neutral-700 [&_pre]:rounded-none [&_pre]:h-full",
4949
// Set background as nextra code block bg color

0 commit comments

Comments
 (0)