mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
12 lines
423 B
JavaScript
12 lines
423 B
JavaScript
export default {
|
|
'!(docs/**/*)*.{ts,js,html,md,mts}': [
|
|
'eslint --cache --cache-strategy content --fix',
|
|
// don't cache prettier yet, since we use `prettier-plugin-jsdoc`,
|
|
// and prettier doesn't invalidate cache on plugin updates"
|
|
// https://prettier.io/docs/en/cli.html#--cache
|
|
'prettier --write',
|
|
],
|
|
'.cspell/*.txt': ['tsx scripts/fixCSpell.ts'],
|
|
'**/*.jison': ['pnpm -w run lint:jison'],
|
|
};
|