You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fix an issue where the VSCode extension duplicates text when using VSCode git utilities [#4338](https://github.com/rome/tools/issues/4338)
111
-
- Remove code assists from being added to the code actions when apply fixes;
111
+
- Remove code assists from being added to the code actions when applying fixes;
112
112
- When requesting code actions, ignored files should not throw errors. Fixes [#4434](https://github.com/rome/tools/issues/4434)
113
113
114
114
### Formatter
115
115
116
116
#### Other changes
117
117
118
-
- Fix an issue where formatting of JSX string literals property values were using incorrect quotes [#4054](https://github.com/rome/tools/issues/4054)
118
+
- Fix an issue where formatting of JSX string literals property values was using incorrect quotes [#4054](https://github.com/rome/tools/issues/4054)
119
119
- Changed import assertion grammar to the new import attribute assertion
120
120
```diff
121
121
- import "module" assert {}
@@ -241,9 +241,9 @@ if there are still diagnostics to be addressed.
241
241
242
242
-`rome check` now checks import statements. This is an experimental feature that needs to be
243
243
enabled via configuration. Import can be sorted using `rome check --apply-unsafe`
244
-
- Rome is able to auto discover the configuration file. If Rome doesn't fine a configuration in the
244
+
- Rome is able to auto discover the configuration file. If Rome doesn't find a configuration in the
245
245
working directory, it will try to find one in the parent directories.
246
-
- Add a new global options called `--config-path`. It tells Rome to try and discover a `rome.json` file
246
+
- Add a new global option called `--config-path`. It tells Rome to try and discover a `rome.json` file
247
247
in the given path.
248
248
```shell
249
249
rome format --config-path=../../other/path/
@@ -509,7 +509,7 @@ Please give them a try by manually enabling them in your configuration and pleas
509
509
510
510
- The concept of `backend` has been removed, in favor of the concept of `distribution`.
511
511
- Removed the possibility to connect to the daemon, for the time being.
512
-
- The APIs are asynchronous anymore.
512
+
- The APIs are asynchronous now.
513
513
514
514
#### Other changes
515
515
@@ -548,7 +548,7 @@ Please give them a try by manually enabling them in your configuration and pleas
548
548
- Added a new argument `--linter-enabled` to the command `rome ci`.
549
549
- Added the new `format` option `--trailing-comma` to configure where to add trailing commas.
550
550
- Correctly show the supported options for `rome ci`, closes [#3456](https://github.com/rome/tools/issues/3456).
551
-
- Fixed the command `rome ci` command to run the linter even if the formatter is disabled, closes [#3495](https://github.com/rome/tools/issues/3495).
551
+
- Fixed the `rome ci` command to run the linter even if the formatter is disabled, closes [#3495](https://github.com/rome/tools/issues/3495).
552
552
- Fixed the messaging of some diagnostics, [#3460](https://github.com/rome/tools/pull/3460).
553
553
554
554
### Configuration
@@ -565,7 +565,7 @@ Please give them a try by manually enabling them in your configuration and pleas
565
565
566
566
- Added the new trailing comma option that configures where to add trailing commas. Supports the values: `all`, `es5` and `none`; refer to the [documentation](https://rome.tools/docs/#javascriptformattertrailingcomma) to learn more.
- Fixed formatting of trailing comments in arrow functions
571
571
@@ -829,7 +829,7 @@ configuration file `rome.json` to change the Rome's defaults.
829
829
830
830
### Formatter
831
831
832
-
- JSX and TSX are now formatted by default! Make sure to enable Rome as default formatter in the VSCode extension.
832
+
- JSX and TSX are now formatted by default! Make sure to enable Rome as the default formatter in the VSCode extension.
833
833
- Improved the consistency of formatting of various statements:
834
834
- call arguments;
835
835
- object property members;
@@ -858,7 +858,7 @@ Fixes a regression introduced in the `rome format` command ([#2670](https://gith
858
858
- TypeScript's formatting is better in line with what Prettier does.
859
859
- Better formatting of string literals.
860
860
Removing unnecessary quotes in string literals and quotes from member names.
861
-
Correctly choose the correct quote based on quantity of quotes inside a literal:
861
+
Correctly choose the correct quote based on the quantity of quotes inside a literal:
862
862
```js
863
863
// original code
864
864
let a = {
@@ -875,12 +875,12 @@ Correctly choose the correct quote based on quantity of quotes inside a literal:
875
875
let c ='"content" \'';
876
876
```
877
877
- Better formatting of various statements
878
-
- Improved the performance of the formatter an average of 20%-30%! Check the relevant
878
+
- Improved the performance of the formatter by an average of 20%-30%! Check the relevant
879
879
PRs [1](https://github.com/rome/tools/pull/2456), [2](https://github.com/rome/tools/pull/2638), [3](https://github.com/rome/tools/pull/2612), [4](https://github.com/rome/tools/pull/2462), [5](https://github.com/rome/tools/pull/2634) if you're interested in what the team did.
880
880
881
881
To reach better compatibility with Prettier, the team had to revise the foundation of our printer,
882
882
which caused some regressions around how comments are printed. These are known issues that we
883
-
plan to close by next release.
883
+
plan to close by the next release.
884
884
885
885
### Linter
886
886
@@ -891,7 +891,7 @@ Refer to the [website](https://rome.tools/#linter) to learn how to start using i
891
891
892
892
## 0.5.0
893
893
894
-
- BREAKING CHANGES: the `format` command doesn't write on disk by default. Now the command prints on terminal.
894
+
- BREAKING CHANGES: the `format` command doesn't write on disk by default. Now the command prints on the terminal.
895
895
896
896
**Migration**: add the `--write` argument when calling `rome format`
0 commit comments