add more explicit support for .mjs and .cjs extensions

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-12-02 22:48:07 +01:00
parent c2da6492fb
commit 25dfc2d483
9 changed files with 30 additions and 10 deletions
+1 -1
View File
@@ -81,7 +81,7 @@
},
"prettier": "@spotify/prettier-config",
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"eslint --fix",
"prettier --write"
],