X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.lintstagedrc.js;h=a9b248cd2ac2de2fbdad623b0d8fae757aa680c3;hb=b6fea09e6a8174e664770741943cf08445066e2b;hp=433ce7f0c53fd6067b09fb3c6e8c4bf92e08b28b;hpb=4a297cd559d11d60dbc5310c11914a49496c421c;p=poolifier.git diff --git a/.lintstagedrc.js b/.lintstagedrc.js index 433ce7f0..a9b248cd 100644 --- a/.lintstagedrc.js +++ b/.lintstagedrc.js @@ -1,7 +1,9 @@ module.exports = { - '**/*.{js,mjs,ts}': ['eslint --cache --fix'], - '**/*.{json,md,yml}': [ - 'prettier --loglevel silent --write', - 'prettierx --write' - ] + '**/*.{ts,tsx,js,jsx,cjs,mjs}': [ + 'rome format --write', + 'ts-standard --fix', + 'eslint --cache --fix' + ], + '!(.vscode/**)**/*.json': ['rome format --write'], + '**/*.{md,yml,yaml}': ['prettier --cache --write'] }