-
-
Notifications
You must be signed in to change notification settings - Fork 475
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: deprecate
javascript.trailingComma
in favor of `javascript.tra…
…ilingCommas`
- Loading branch information
Showing
359 changed files
with
990 additions
and
1,049 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
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
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
File renamed without changes.
28 changes: 28 additions & 0 deletions
28
...main_commands_format/applies_custom_trailing_commas_overriding_the_deprecated_option.snap
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,28 @@ | ||
--- | ||
source: crates/biome_cli/tests/snap_test.rs | ||
expression: content | ||
--- | ||
## `file.js` | ||
|
||
```js | ||
const a = [ | ||
longlonglonglongItem1longlonglonglongItem1, | ||
longlonglonglongItem1longlonglonglongItem2, | ||
longlonglonglongItem1longlonglonglongItem3 | ||
]; | ||
|
||
``` | ||
|
||
# Emitted Messages | ||
|
||
```block | ||
internalError/fs DEPRECATED ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | ||
! The argument --trailing-comma is deprecated, it will be removed in the next major release. Use --trailing-commas instead. | ||
``` | ||
|
||
```block | ||
Formatted 1 file in <TIME>. Fixed 1 file. | ||
``` |
28 changes: 28 additions & 0 deletions
28
...hots/main_commands_format/applies_custom_trailing_commas_using_the_deprecated_option.snap
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,28 @@ | ||
--- | ||
source: crates/biome_cli/tests/snap_test.rs | ||
expression: content | ||
--- | ||
## `file.js` | ||
|
||
```js | ||
const a = [ | ||
longlonglonglongItem1longlonglonglongItem1, | ||
longlonglonglongItem1longlonglonglongItem2, | ||
longlonglonglongItem1longlonglonglongItem3 | ||
]; | ||
|
||
``` | ||
|
||
# Emitted Messages | ||
|
||
```block | ||
internalError/fs DEPRECATED ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | ||
! The argument --trailing-comma is deprecated, it will be removed in the next major release. Use --trailing-commas instead. | ||
``` | ||
|
||
```block | ||
Formatted 1 file in <TIME>. Fixed 1 file. | ||
``` |
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
Oops, something went wrong.