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