Refine lint-staged configuration
[benchmarks-js.git] / .lintstagedrc.js
index b8747b0b6d1d496b82291460eb5feef8868d95e1..1ee58bf4501793ff42cb86009baa8e89b31721cc 100644 (file)
@@ -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']
 }