Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
chore: 🤖 update snap
Browse files Browse the repository at this point in the history
  • Loading branch information
IWANABETHATGUY committed May 5, 2023
1 parent 7de0a30 commit 4b63252
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 30 deletions.
2 changes: 1 addition & 1 deletion crates/rome_cli/tests/commands/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1618,7 +1618,7 @@ fn ignore_comments_error_when_allow_comments() {
{
"json": {
"allow_comments": ["*.json"]
"allowComments": ["*.json"]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ expression: content
```json
{
"json": {
"allow_comments": ["*.json"]
"allowComments": ["*.json"]
}
}
```
Expand All @@ -22,34 +22,6 @@ expression: content

# Emitted Messages

```block
Found errors in the configuration file, Rome will use its defaults for the sections that are incorrect.
```

```block
rome.json:4:3 deserialize ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
! Found an unknown key `json`.
3 │ {
> 4 │ "json": {
│ ^^^^^^
5 │ "allow_comments": ["*.json"]
6 │ }
i Accepted keys
- vcs
- files
- linter
- formatter
- javascript
- $schema
- organizeImports
```

```block
tsconfig.json format ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Expand Down
1 change: 1 addition & 0 deletions crates/rome_service/src/configuration/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ impl Configuration {
"javascript",
"$schema",
"organizeImports",
"json",
];
pub fn is_formatter_disabled(&self) -> bool {
self.formatter
Expand Down

0 comments on commit 4b63252

Please sign in to comment.