mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
1f3a02559c
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.
7 lines
242 B
JSON
7 lines
242 B
JSON
{
|
|
"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"]
|
|
}
|