Browse Source

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>
pull/43544/head
afc163 1 year ago
committed by GitHub
parent
commit
7ae5bc5f00
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      package.json

4
package.json

@ -284,7 +284,7 @@
"remark-cli": "^11.0.0", "remark-cli": "^11.0.0",
"remark-lint": "^9.0.0", "remark-lint": "^9.0.0",
"remark-preset-lint-recommended": "^6.0.0", "remark-preset-lint-recommended": "^6.0.0",
"rome": "^12.0.0", "rome": "12.1.3-nightly.f65b0d9",
"semver": "^7.3.5", "semver": "^7.3.5",
"simple-git": "^3.0.0", "simple-git": "^3.0.0",
"size-limit": "^8.1.0", "size-limit": "^8.1.0",
@ -322,7 +322,7 @@
"mode": "npm" "mode": "npm"
}, },
"lint-staged": { "lint-staged": {
"*.{ts,tsx,js,jsx}": "prettier --ignore-unknown --write", "*.{ts,tsx,js,jsx}": "rome format --write",
"*.{json,less,md}": "prettier --ignore-unknown --write" "*.{json,less,md}": "prettier --ignore-unknown --write"
} }
} }

Loading…
Cancel
Save