Switch to official standard JS formatting tools
[benchmarks-js.git] / .lintstagedrc.js
diff --git a/.lintstagedrc.js b/.lintstagedrc.js
new file mode 100644 (file)
index 0000000..b8747b0
--- /dev/null
@@ -0,0 +1,4 @@
+module.exports = {
+  '*.{js,jsx}': ['prettier --write', 'standard --fix', 'eslint --cache --fix'],
+  '*.{json,md,yml,yaml}': ['prettier --write']
+}