X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.lintstagedrc.js;h=a9b248cd2ac2de2fbdad623b0d8fae757aa680c3;hb=refs%2Ftags%2Fv2.6.32;hp=ad032a8b2f3abb542919ec1a5535e2ba1836be5d;hpb=86092b199b858c308849ddcf2900a7733251364a;p=poolifier.git diff --git a/.lintstagedrc.js b/.lintstagedrc.js index ad032a8b..a9b248cd 100644 --- a/.lintstagedrc.js +++ b/.lintstagedrc.js @@ -1,4 +1,9 @@ module.exports = { - '**/*.{js,mjs,ts}': ['eslint --cache --fix'], - '**/*.{json,md,yml}': ['prettier --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'] }