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