Skip to content

Commit 738038d

Browse files
committed
Added remark config to pacakge.json, fails upon warnings
1 parent 55cea62 commit 738038d

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,14 @@
1313
"write-translations": "docusaurus write-translations",
1414
"write-heading-ids": "docusaurus write-heading-ids",
1515
"typecheck": "tsc",
16-
"lint": "remark . --use=remark-preset-lint-recommended --use=remark-mdx"
16+
"lint": "remark --frail ."
17+
},
18+
"remarkConfig": {
19+
"plugins": [
20+
"remark-preset-lint-recommended",
21+
"remark-mdx",
22+
["remark-lint-list-item-indent", false]
23+
]
1724
},
1825
"dependencies": {
1926
"@docusaurus/core": "^3.7.0",

pixi.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ version = "0.1.0"
99
install = { cmd = ["pnpm", "install"] }
1010
build = { cmd = ["pnpm", "build"], depends-on = ["install"] }
1111
serve = { cmd = ["pnpm", "serve"], depends-on = ["build"] }
12+
lint = { cmd = ["pnpm", "lint"], depends-on = ["install"] }
1213

1314
[dependencies]
1415
nodejs = ">=22.12.0,<22.14"

0 commit comments

Comments
 (0)