2022-11-23 01:35:27 +08:00
|
|
|
export default {
|
2023-05-08 21:16:14 +08:00
|
|
|
'!(docs/**/*)*.{ts,js,html,md,mts}': [
|
2023-02-06 03:01:01 +08:00
|
|
|
'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',
|
|
|
|
],
|
2024-02-15 06:32:15 +08:00
|
|
|
'.cspell/*.txt': ['tsx scripts/fixCSpell.ts'],
|
2022-11-23 01:35:27 +08:00
|
|
|
'**/*.jison': ['pnpm -w run lint:jison'],
|
|
|
|
};
|