From ba25ea13705e8a22e0552b8f4bded15096853abd Mon Sep 17 00:00:00 2001 From: Nicholas Sylke Date: Tue, 15 Aug 2023 16:02:58 -0500 Subject: [PATCH] refactor: use lint-staged.config.cjs as configuration for lint-staged --- lint-staged.config.cjs | 5 +++++ package.json | 7 +------ 2 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 lint-staged.config.cjs diff --git a/lint-staged.config.cjs b/lint-staged.config.cjs new file mode 100644 index 000000000..6e6b7a83e --- /dev/null +++ b/lint-staged.config.cjs @@ -0,0 +1,5 @@ +module.exports = { + "**/*.{ts,tsx,md}": [ + "prettier --write" + ] +} diff --git a/package.json b/package.json index 2f7a01de2..495578aab 100644 --- a/package.json +++ b/package.json @@ -23,10 +23,5 @@ "workspaces": [ "apps/*", "packages/*" - ], - "lint-staged": { - "**/*.{ts,tsx,md}": [ - "prettier --write" - ] - } + ] }