mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-27 20:26:47 +02:00
build: lint-staged docs in packages/mermaid/src/…
When running lint-staged during git pre-commit scripts, search for docs in the packages/mermaid/src/docs folder instead of the original src/docs folder.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"src/docs/**": ["pnpm run docs:build --git"],
|
"packages/mermaid/src/docs/**": ["pnpm run docs:build --git"],
|
||||||
"src/docs.mts": ["pnpm run docs:build --git"],
|
"packages/mermaid/src/docs.mts": ["pnpm run docs:build --git"],
|
||||||
"*.{ts,js,json,html,md,mts}": ["eslint --fix", "prettier --write"],
|
"*.{ts,js,json,html,md,mts}": ["eslint --fix", "prettier --write"],
|
||||||
"*.jison": ["pnpm run lint:jison"]
|
"*.jison": ["pnpm run lint:jison"]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user