tools
tools copied to clipboard
Unified developer tools for JavaScript, TypeScript, and the web
## Summary Closes https://github.com/rome/tools/issues/3077. ## Test Plan ``` > cargo test -p rome_js_analyze -- shouty ``` with two new cases ```js let foo = "foo"; const A = "A"; export...
## Summary This PR implements option preserve_quotes following Prettier. ([docs](https://prettier.io/docs/en/options.html#quote-props)) I referred to `--quote-style` for the implementation of the option. Close #2482 ## Test Plan - Check new snapshots -...
## Summary Part of #3046 This PR refactors our `JsAnyBinaryLikeExpression` formatting to closer match prettier's formatting. The main change is that our old implementation used to group the operator with...
## Summary Part of #3046 This PR adds the capability of adding parentheses to improve readability or removing parentheses if they aren't strictly necessary. The core architecture is around the...
### Description This is an umbrella issue for the work on the Formatter for the 0.9.0 release. ## Goals * Rome removes unnecessary parentheses and adds parentheses to improve readability....
## Summary 1. Resolved #2735 ## Test Plan 1. Should pass all test cases newly added.
## Summary This PR creates a new `@rometools/backend-jsonrpc` library that implements the Workspace API by wrapping the JSON-RPC protocol exposed by the daemon server. The library is split into a...
### Environment information According https://rome.tools/docs/lint/rules/noShoutyConstants/ > Disallow the use of constants which its value is the upper-case version of its name. Such code snippet should not emit a warning: ```js...
## Summary Closes #3049 **The status of the PR is not the final design**. There are still things missing that I would like implement in subsequent PRs: - report errors...
## Summary Part of https://github.com/rome/tools/issues/3073 This PR starts works around the runtime APIs. This PR implements only few methods compared to the one proposed: - `formatFiles` - `formatContent` - `parseContent`...