X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.lintstagedrc.js;h=507f281dd6e4dd4ca0a744a53c4a4c918eb06262;hb=110cef15d1d436c23ba38a793caa5cda14121281;hp=3ee7fd306c0b1bdc93b3c719e399e516aa0de255;hpb=c0fcd441040861f53974cccb693a9dd3d4a374ee;p=poolifier.git diff --git a/.lintstagedrc.js b/.lintstagedrc.js index 3ee7fd30..507f281d 100644 --- a/.lintstagedrc.js +++ b/.lintstagedrc.js @@ -1,8 +1,8 @@ -module.exports = { +export default { '**/*.{ts,tsx,js,jsx,cjs,mjs}': [ - 'rome format --write', - 'ts-standard --fix', + 'biome format --write', 'eslint --cache --fix' ], - '!(.vscode/**)**/*.{json,md,yml,yaml}': ['rome format --write'] + '**/!(package.json|tsconfig.json)*.json': ['biome format --write'], + '**/*.{md,yml,yaml}': ['prettier --cache --write'] }