Skip to content

Commit c9033de

Browse files
committed
Merge remote-tracking branch 'origin/main' into next
2 parents 6bf88fe + 59ecfb4 commit c9033de

46 files changed

Lines changed: 1225 additions & 45 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/bright-insects-ring.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
"@biomejs/biome": patch
3+
---
4+
5+
Added new rule [`useVueDefineMacrosOrder`](https://biomejs.dev/linter/rules/use-vue-define-macros-order) which allows enforcing specific order for Vue compiler macros.
6+
7+
In this example, the rule will suggest moving `defineProps` before `defineEmits`:
8+
```vue
9+
<script lang="ts" setup>
10+
const emit = defineEmits(['update'])
11+
const props = defineProps<{ name: string }>()
12+
</script>
13+
```

.changeset/gentle-ears-itch.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@biomejs/biome": patch
3+
---
4+
5+
Fixed [#7788](https://github.com/biomejs/biome/issues/7788). Removes some error logging that were emitted when loading possible configuration files.

.changeset/metal-plants-tell.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@biomejs/biome": patch
3+
---
4+
5+
Fixed [#7798](https://github.com/biomejs/biome/issues/7798). [useNamingConvention](https://biomejs.dev/linter/rules/use-naming-convention/) no longer panics when it encounters a name that consists of a single dollar sign `$` that doesn't match a custom convention.

.changeset/swift-apples-greet.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@biomejs/biome": patch
3+
---
4+
5+
Fixed [#6589](https://github.com/biomejs/biome/issues/6589): Biome now properly loads extension settings before loading the configuration file when opening a text document in the LSP server.

crates/biome_cli/src/execute/migrate/eslint_any_rule_to_biome.rs

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/biome_cli/tests/snapshots/main_commands_check/check_help.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The configuration that is contained inside the file `biome.json`
3131
above this limit will be ignored for performance reasons. Defaults to
3232
1 MiB
3333
--files-ignore-unknown=<true|false> Tells Biome to not emit diagnostics when handling files
34-
that doesn't know
34+
that it doesn't know
3535
--format-with-errors=<true|false> Whether formatting should be allowed to proceed if a
3636
given file has syntax errors
3737
--indent-style=<tab|space> The indent style.

crates/biome_cli/tests/snapshots/main_commands_ci/ci_help.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The configuration that is contained inside the file `biome.json`
3333
above this limit will be ignored for performance reasons. Defaults to
3434
1 MiB
3535
--files-ignore-unknown=<true|false> Tells Biome to not emit diagnostics when handling files
36-
that doesn't know
36+
that it doesn't know
3737
--format-with-errors=<true|false> Whether formatting should be allowed to proceed if a
3838
given file has syntax errors
3939
--indent-style=<tab|space> The indent style.

crates/biome_cli/tests/snapshots/main_commands_format/format_help.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ The configuration of the filesystem
102102
above this limit will be ignored for performance reasons. Defaults to
103103
1 MiB
104104
--files-ignore-unknown=<true|false> Tells Biome to not emit diagnostics when handling files
105-
that doesn't know
105+
that it doesn't know
106106
107107
Global options applied to all commands
108108
--colors=<off|force> Set the formatting mode for markup: "off" prints everything as plain

crates/biome_cli/tests/snapshots/main_commands_lint/lint_help.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The configuration of the filesystem
3333
above this limit will be ignored for performance reasons. Defaults to
3434
1 MiB
3535
--files-ignore-unknown=<true|false> Tells Biome to not emit diagnostics when handling files
36-
that doesn't know
36+
that it doesn't know
3737
3838
Linter options specific to the JavaScript linter
3939
--javascript-linter-enabled=<true|false> Control the linter for JavaScript (and its super

crates/biome_configuration/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ pub struct FilesConfiguration {
548548
#[serde(skip_serializing_if = "Option::is_none")]
549549
pub max_size: Option<MaxSize>,
550550

551-
/// Tells Biome to not emit diagnostics when handling files that doesn't know
551+
/// Tells Biome to not emit diagnostics when handling files that it doesn't know
552552
#[bpaf(long("files-ignore-unknown"), argument("true|false"), optional)]
553553
#[serde(skip_serializing_if = "Option::is_none")]
554554
pub ignore_unknown: Option<FilesIgnoreUnknownEnabled>,

0 commit comments

Comments
 (0)