mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
fix: lintstagedrc lint:jison
This commit is contained in:
parent
4143032b66
commit
5967289172
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
"!(docs/**/*)*.{ts,js,json,html,md,mts}": ["eslint --fix", "prettier --write"],
|
"!(docs/**/*)*.{ts,js,json,html,md,mts}": ["eslint --fix", "prettier --write"],
|
||||||
"cSpell.json": ["ts-node-esm scripts/fixCSpell.ts"]
|
"cSpell.json": ["ts-node-esm scripts/fixCSpell.ts"],
|
||||||
|
"**/*.jison": ["pnpm run lint:jison"]
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"src/docs/**": ["pnpm --filter mermaid run docs:build --git"],
|
"src/docs/**": ["pnpm --filter mermaid run docs:build --git"],
|
||||||
"src/docs.mts": ["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/(defaultConfig|config|mermaidAPI).ts": ["pnpm --filter mermaid run docs:build --git"]
|
||||||
"*.jison": ["pnpm run lint:jison"]
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user