diff --git a/package.json b/package.json index 2012aff1a492..1e31484385e3 100644 --- a/package.json +++ b/package.json @@ -59,13 +59,13 @@ "prepare": "husky && rimraf ./node_modules/.cache/webpack && yarn-deduplicate --strategy fewer" }, "lint-staged": { - "*.{js,jsx,md,mdx}": [ + "*.{js,mjs,jsx,md,mdx}": [ "npm run lint-js" ], "*.{md,mdx}": [ "npm run lint-markdown" ], - "*.{js,jsx,css,scss,md,mdx,json}": [ + "*.{js,mjs,jsx,css,scss,md,mdx,json}": [ "prettier --write" ] },