release: 0.7.0
MODIFY
CHANGELOG.md
CHANGELOG.md
# Rome changelog
+## 0.7.0
+
+### CLI
+
+- Added `--no-colors` argument.
+
+### Formatter
+
+- JSX and TSX are now formatted by default! Make sure to enable Rome as default formatter in the VSCode extension.
+- Improved the consistency of formatting of various statements:
+ - call arguments;
+ - object property members;
+ - variable declarations;
+ - object patterns;
+ - class property members;
+- Fixed a bunch of issues in the TypeScript formatting.
+
+### Linter
+
+- Added the new `--apply` argument to the `rome check` command;
+- New rules added to the linter, check the [website](https://rome.tools/docs/lint/rules/);
+
## 0.6.1
Fixes a regression introduced in the `rome format` command ([#2670](https://github.com/rome/tools/issues/2670))

MODIFY
editors/vscode/package-lock.json
editors/vscode/package-lock.json
{
"name": "rome",
- "version": "0.9.0",
+ "version": "0.10.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "rome",
- "version": "0.9.0",
+ "version": "0.10.0",
"license": "MIT",
"dependencies": {
"vscode-languageclient": "^8.0.1"
},
"engines": {
"npm": "^8",
- "vscode": "^1.63.0"
+ "vscode": "^1.68.1"
}
},
"node_modules/@types/node": {

MODIFY
editors/vscode/package.json
editors/vscode/package.json
"publisher": "rome",
"displayName": "Rome",
"description": "Rome LSP VS Code Extension",
- "version": "0.8.0",
+ "version": "0.10.0",
"icon": "icon.png",
"activationEvents": [
"onLanguage:javascript",

MODIFY
npm/rome/package.json
npm/rome/package.json
{
"name": "rome",
- "version": "0.6.1-next",
+ "version": "0.7.0-next",
"bin": "bin/rome",
"scripts": {
"postinstall": "node scripts/postinstall.js"

MODIFY
website/src/_includes/docs/ci.md
website/src/_includes/docs/ci.md
@@ -13,3 +13,4 @@ rome ci
This command will:
- run the formatter in check mode
+- run the linter in check mode
\ No newline at end of file

ADD
website/src/_includes/docs/cli.md
+## CLI
+
+Rome CLI offers some options that can be used with all commands:
+
+```shell
+OPTIONS:
+ --no-colors Disable the formatting of markup (print everything as plain text)
+```
\ No newline at end of file

MODIFY
website/src/_includes/docs/linter.md
website/src/_includes/docs/linter.md
@@ -30,6 +30,9 @@ USAGE:
INPUTS can be one or more filesystem path, each pointing to a single file or an entire directory to be searched recursively for supported files
+OPTIONS:
+ --apply Apply safe fixes
+
```
### Rules

MODIFY
website/src/index.md
website/src/index.md
@@ -7,6 +7,7 @@ layout: layouts/homepage.liquid
{% include docs/intro.md %}
{% include docs/getting-started.md %}
{% include docs/status.md %}
+{% include docs/cli.md %}
{% include docs/formatter.md %}
{% include docs/linter.md %}
{% include docs/ci.md %}

release: 0.7.0 (#2801)