2022-11-22 18:35:27 +01:00
|
|
|
export default {
|
2023-05-08 15:16:14 +02:00
|
|
|
'!(docs/**/*)*.{ts,js,html,md,mts}': [
|
2023-02-05 20:01:01 +01: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',
|
|
|
|
],
|
2023-05-08 18:38:11 +02:00
|
|
|
'cSpell.json': ['ts-node-esm scripts/fixCSpell.ts'],
|
2022-11-22 18:35:27 +01:00
|
|
|
'**/*.jison': ['pnpm -w run lint:jison'],
|
|
|
|
};
|