mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-10-26 08:24:07 +01:00 
			
		
		
		
	chore: Cleanup lintStaged
This commit is contained in:
		| @@ -1,4 +1,3 @@ | |||||||
| { | { | ||||||
|   "!(docs/**/*)*.{ts,js,json,html,md,mts}": ["eslint --fix", "prettier --write"], |   "!(docs/**/*)*.{ts,js,json,html,md,mts}": ["eslint --fix", "prettier --write"] | ||||||
|   "*.jison": ["pnpm run lint:jison"] |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -34,7 +34,6 @@ | |||||||
|     "release": "pnpm build", |     "release": "pnpm build", | ||||||
|     "lint": "eslint --cache --ignore-path .gitignore . && pnpm lint:jison && prettier --check .", |     "lint": "eslint --cache --ignore-path .gitignore . && pnpm lint:jison && prettier --check .", | ||||||
|     "lint:fix": "eslint --fix --ignore-path .gitignore . && prettier --write .", |     "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": "cypress run", | ||||||
|     "cypress:open": "cypress open", |     "cypress:open": "cypress open", | ||||||
|     "e2e": "start-server-and-test dev http://localhost:9000/ cypress", |     "e2e": "start-server-and-test dev http://localhost:9000/ cypress", | ||||||
|   | |||||||
| @@ -4,5 +4,8 @@ | |||||||
|   ], |   ], | ||||||
|   "src/docs.mts": [ |   "src/docs.mts": [ | ||||||
|     "pnpm --filter mermaid run docs:build --git" |     "pnpm --filter mermaid run docs:build --git" | ||||||
|  |   ], | ||||||
|  |   "*.jison": [ | ||||||
|  |     "pnpm run lint:jison" | ||||||
|   ] |   ] | ||||||
| } | } | ||||||
		Reference in New Issue
	
	Block a user
	 Sidharth Vinod
					Sidharth Vinod