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 <afc163@gmail.com>

* Apply suggestions from code review

Signed-off-by: afc163 <afc163@gmail.com>

* chore: use rome nightly version

---------

Signed-off-by: afc163 <afc163@gmail.com>
This commit is contained in:
afc163 2023-07-13 20:54:37 +08:00 committed by GitHub
parent 25acc479f0
commit 7ae5bc5f00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"
}
}