X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.lintstagedrc.js;h=d0c795d385456319b9d875fd3ebbeb4978e618e6;hb=dfdb4c56e278b8725d5ea689ba571411ce0afd00;hp=b8427937a014975025fc04d4d79bfb7f02bafb64;hpb=ddc804a198d8ebc65030b942ceaf94e4d87032ca;p=benchmarks-js.git diff --git a/.lintstagedrc.js b/.lintstagedrc.js index b842793..d0c795d 100644 --- a/.lintstagedrc.js +++ b/.lintstagedrc.js @@ -1,8 +1,9 @@ module.exports = { '*.{js,jsx,cjs,mjs}': [ - 'prettier --cache --write', + 'rome format --write', 'standard --fix', 'eslint --cache --fix' ], - '*.{json,md,yml,yaml}': ['prettier --cache --write'] + '!(.vscode/**)*.json': ['rome format --write'], + '*.{md,yml,yaml}': ['prettier --cache --write'] }