chore: Cleanup lintStaged
This commit is contained in:
parent
3b7463e5ed
commit
c72bdc83c8
|
@ -1,4 +1,3 @@
|
|||
{
|
||||
"!(docs/**/*)*.{ts,js,json,html,md,mts}": ["eslint --fix", "prettier --write"],
|
||||
"*.jison": ["pnpm run lint:jison"]
|
||||
"!(docs/**/*)*.{ts,js,json,html,md,mts}": ["eslint --fix", "prettier --write"]
|
||||
}
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
"release": "pnpm build",
|
||||
"lint": "eslint --cache --ignore-path .gitignore . && pnpm lint:jison && prettier --check .",
|
||||
"lint:fix": "eslint --fix --ignore-path .gitignore . && prettier --write .",
|
||||
"lint:jison": "ts-node-esm --transpileOnly packages/mermaid/src/jison/lint.mts",
|
||||
"cypress": "cypress run",
|
||||
"cypress:open": "cypress open",
|
||||
"e2e": "start-server-and-test dev http://localhost:9000/ cypress",
|
||||
|
|
|
@ -4,5 +4,8 @@
|
|||
],
|
||||
"src/docs.mts": [
|
||||
"pnpm --filter mermaid run docs:build --git"
|
||||
],
|
||||
"*.jison": [
|
||||
"pnpm run lint:jison"
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue