mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
9 lines
404 B
JavaScript
9 lines
404 B
JavaScript
import baseConfig from '../../.lintstagedrc.mjs';
|
|
export default {
|
|
...baseConfig,
|
|
'src/docs/**': ['pnpm --filter mermaid run docs:build --git'],
|
|
'src/docs.mts': ['pnpm --filter mermaid run docs:build --git'],
|
|
'src/(defaultConfig|config|mermaidAPI).ts': ['pnpm --filter mermaid run docs:build --git'],
|
|
'src/schemas/config.schema.yaml': ['pnpm --filter mermaid run types:build-config --git'],
|
|
};
|