From 7ae5bc5f00aaa94786b3fffff8757f519de45547 Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 13 Jul 2023 20:54:37 +0800 Subject: [PATCH] chore: use rome again (#43492) * chore: use rome again due to https://github.com/rome/tools/pull/4555 * Update package.json Signed-off-by: afc163 * Apply suggestions from code review Signed-off-by: afc163 * chore: use rome nightly version --------- Signed-off-by: afc163 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3ec0735848..ed77f42b97 100644 --- a/package.json +++ b/package.json @@ -284,7 +284,7 @@ "remark-cli": "^11.0.0", "remark-lint": "^9.0.0", "remark-preset-lint-recommended": "^6.0.0", - "rome": "^12.0.0", + "rome": "12.1.3-nightly.f65b0d9", "semver": "^7.3.5", "simple-git": "^3.0.0", "size-limit": "^8.1.0", @@ -322,7 +322,7 @@ "mode": "npm" }, "lint-staged": { - "*.{ts,tsx,js,jsx}": "prettier --ignore-unknown --write", + "*.{ts,tsx,js,jsx}": "rome format --write", "*.{json,less,md}": "prettier --ignore-unknown --write" } }