fix: Enable extending lintstagedrc.

This commit is contained in:
Sidharth Vinod
2022-11-22 23:05:27 +05:30
parent 5967289172
commit 009a32d20b
4 changed files with 12 additions and 10 deletions

5
.lintstagedrc.mjs Normal file
View File

@@ -0,0 +1,5 @@
export default {
'!(docs/**/*)*.{ts,js,json,html,md,mts}': ['eslint --fix', 'prettier --write'],
'cSpell.json': ['ts-node-esm scripts/fixCSpell.ts'],
'**/*.jison': ['pnpm -w run lint:jison'],
};