mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-24 08:24:14 +02:00
chore: Cleanup lintStaged
This commit is contained in:
@@ -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"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user