repositories
/
benchmarks-js.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
.lintstagedrc.js
@@ -0,0
+1,4
@@
+module.exports = {
+ '*.{js,jsx}': ['prettier --write', 'standard --fix', 'eslint --cache --fix'],
+ '*.{json,md,yml,yaml}': ['prettier --write']
+}