This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 659
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Yasser Elassal <[email protected]> Co-authored-by: strager <[email protected]> Co-authored-by: Micha Reiser <[email protected]> Co-authored-by: l3ops <[email protected]>
- Loading branch information
1 parent
c173b0c
commit 480d4e0
Showing
13 changed files
with
112 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## CI | ||
|
||
Rome comes with a CI mode that allows performing multiple CI checks just by | ||
running one single command. | ||
|
||
This mode is only available via CLI. | ||
|
||
### Use CI mode via CLI | ||
|
||
```shell | ||
rome ci | ||
``` | ||
|
||
This command will: | ||
- run the formatter in check mode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
## Linter | ||
|
||
You can use the linter via our [VS Code extension] or by downloading our CLI directly from our [release page]. | ||
|
||
> WARNING: The CLI and VS Code extension are packaged with separate binaries, which means that if you don't | ||
> use our default options, you will have to **pass them to both the extension AND the CLI**. | ||
> | ||
> This is a temporary choice to allow people to play with our formatter. This will change in the near future. | ||
|
||
### Use the formatter via VSCode extension | ||
|
||
The feature is opt-in, and you'd need to enable the following options: | ||
- `analysis.enableDiagnostics` | ||
- `analysis.enableCodeActions` | ||
|
||
### Use the formatter via CLI | ||
|
||
You can start by running the CLI with the `--help` flag: | ||
|
||
```shell | ||
rome check --help | ||
``` | ||
|
||
Which will show you the options available at the moment: | ||
|
||
```shell | ||
USAGE: | ||
rome check <INPUTS...> | ||
|
||
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 | ||
|
||
``` | ||
|
||
|
||
[VS Code extension]: https://marketplace.visualstudio.com/items?itemName=rome.rome | ||
[release page]: https://github.com/rome/tools/releases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters