X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.lintstagedrc.js;h=1ee58bf4501793ff42cb86009baa8e89b31721cc;hb=31688ebd341c01ea9029dcf57f4c77fe92aa455c;hp=b8747b0b6d1d496b82291460eb5feef8868d95e1;hpb=51c84d4b4b7a6bf52d72bfd353d29264f291a720;p=benchmarks-js.git diff --git a/.lintstagedrc.js b/.lintstagedrc.js index b8747b0..1ee58bf 100644 --- a/.lintstagedrc.js +++ b/.lintstagedrc.js @@ -1,4 +1,8 @@ module.exports = { - '*.{js,jsx}': ['prettier --write', 'standard --fix', 'eslint --cache --fix'], + '*.{js,jsx,mjs,cjs}': [ + 'prettier --write', + 'standard --fix', + 'eslint --cache --fix' + ], '*.{json,md,yml,yaml}': ['prettier --write'] }