chore: Cleanup lintStaged

This commit is contained in:
Sidharth Vinod 2022-10-31 20:30:05 +05:30
parent 3b7463e5ed
commit c72bdc83c8
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD
3 changed files with 4 additions and 3 deletions

View File

@ -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"]
}

View File

@ -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",

View File

@ -4,5 +4,8 @@
],
"src/docs.mts": [
"pnpm --filter mermaid run docs:build --git"
],
"*.jison": [
"pnpm run lint:jison"
]
}