From adcee9df373267b55d0ecfe648ebe5ec8bed8066 Mon Sep 17 00:00:00 2001 From: Putro <29204244+Pewtro@users.noreply.github.com> Date: Sat, 23 Mar 2024 21:36:13 +0100 Subject: [PATCH] Run prettier and update lint-staged script for prettier to avoid issues --- package.json | 2 +- packages/utils/tsconfig.json | 16 ++++++++-------- tsconfig.json | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index f4c6771..7d55418 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "typecheck": "tsc" }, "lint-staged": { - "*.{ts,tsx,js,jsx,md,mdx,yml,yaml}": [ + "*": [ "prettier --write" ], "*.{ts,tsx,js,jsx}": [ diff --git a/packages/utils/tsconfig.json b/packages/utils/tsconfig.json index 779d13a..7dccdcf 100644 --- a/packages/utils/tsconfig.json +++ b/packages/utils/tsconfig.json @@ -1,9 +1,9 @@ { - "extends": "../../tsconfig.json", - "include": ["src"], - "compilerOptions": { - "declaration": true, - "outDir": "./dist", - "rootDir": "./src" - }, -} \ No newline at end of file + "extends": "../../tsconfig.json", + "include": ["src"], + "compilerOptions": { + "declaration": true, + "outDir": "./dist", + "rootDir": "./src" + } +} diff --git a/tsconfig.json b/tsconfig.json index d0ce55f..74465d4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,7 +20,7 @@ "noEmit": true, "module": "Preserve", "moduleResolution": "Bundler" - + /* If transpiling with TypeScript: */ //"moduleResolution": "NodeNext", //"module": "NodeNext",