From 87841c166ad1592e10cb30ba5fb0784e3a632064 Mon Sep 17 00:00:00 2001 From: David Maskasky Date: Sun, 5 Jan 2025 19:36:05 -0800 Subject: [PATCH] change prettier to fix:format (#1029) --- .github/pull_request_template.md | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 580d2a67..6a12d94d 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -8,4 +8,4 @@ Fixes # ## Check List -- [ ] `pnpm run prettier` for formatting code and docs +- [ ] `pnpm run fix:format` for formatting code and docs diff --git a/package.json b/package.json index acebbe8e..e3d4e7d9 100644 --- a/package.json +++ b/package.json @@ -62,8 +62,8 @@ "build:react": "rollup -c --config-react", "build:react_utils": "rollup -c --config-react_utils", "postbuild": "pnpm patch-d-ts && pnpm copy && pnpm patch-old-ts && pnpm patch-esm-ts", - "prettier": "prettier '*.{js,json,md}' '{src,tests,docs}/**/*.{ts,tsx,md,mdx}' --write", - "eslint": "eslint . --fix", + "fix:format": "prettier '*.{js,json,md}' '{src,tests,docs}/**/*.{ts,tsx,md,mdx}' --write", + "fix:lint": "eslint . --fix", "test": "pnpm run '/^test:.*/'", "test:format": "prettier '*.{js,json,md}' '{src,tests,docs}/**/*.{ts,tsx,md,mdx}' --list-different", "test:types": "tsc --noEmit",