mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08: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:
parent
1cdb0ff72c
commit
1f3a02559c
@ -1,6 +1,6 @@
|
||||
{
|
||||
"src/docs/**": ["pnpm run docs:build --git"],
|
||||
"src/docs.mts": ["pnpm run docs:build --git"],
|
||||
"packages/mermaid/src/docs/**": ["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"],
|
||||
"*.jison": ["pnpm run lint:jison"]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user