Merge pull request #8349 from backstage/rugvip/cjs

add more explicit support for .mjs and .cjs extensions
This commit is contained in:
Ben Lambert
2021-12-13 13:35:24 +01:00
committed by GitHub
9 changed files with 30 additions and 10 deletions
+1 -1
View File
@@ -82,7 +82,7 @@
},
"prettier": "@spotify/prettier-config",
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"eslint --fix",
"prettier --write"
],