repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move lint-staged configuration from package.json to .lintstagedrc.json
[e-mobility-charging-stations-simulator.git]
/
.lintstagedrc.json
diff --git a/.lintstagedrc.json
b/.lintstagedrc.json
new file mode 100644
(file)
index 0000000..
97fb30e
--- /dev/null
+++ b/
.lintstagedrc.json
@@ -0,0
+1,5
@@
+{
+ "{src,test}/**/*.{js,ts}": ["prettier --write", "eslint --cache --fix"],
+ "**/*.{json,md,yml}": ["prettier --write"],
+ "**/*.{js,mjs}": ["prettier --write", "eslint --cache --fix"]
+}