From 877f6bfc75e010b856183b15020cf85b958da052 Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Sun, 3 Nov 2024 16:05:58 +0530 Subject: [PATCH] chore: run lint-staged on `*.mjs` files --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" ] },