Skip to content

Commit

Permalink
fix merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Jan 8, 2025
1 parent f6edd5c commit e76078c
Show file tree
Hide file tree
Showing 7 changed files with 116 additions and 97 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

193 changes: 106 additions & 87 deletions crates/biome_configuration/src/analyzer/linter/rules.rs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions crates/biome_configuration/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ use crate::graphql::{GraphqlFormatterConfiguration, GraphqlLinterConfiguration};
pub use crate::grit::{grit_configuration, GritConfiguration};
use crate::javascript::{JsFormatterConfiguration, JsLinterConfiguration};
use crate::json::{JsonFormatterConfiguration, JsonLinterConfiguration};
use crate::max_size::MazSize;
use crate::max_size::MaxSize;
use crate::vcs::{vcs_configuration, VcsConfiguration};
pub use analyzer::{
linter_configuration, LinterConfiguration, RuleConfiguration, RuleFixConfiguration,
Expand Down Expand Up @@ -337,7 +337,7 @@ pub struct FilesConfiguration {
/// this limit will be ignored for performance reasons. Defaults to 1 MiB
#[bpaf(long("files-max-size"), argument("NUMBER"))]
#[serde(skip_serializing_if = "Option::is_none")]
pub max_size: Option<MazSize>,
pub max_size: Option<MaxSize>,

/// Tells Biome to not emit diagnostics when handling files that doesn't know
#[bpaf(long("files-ignore-unknown"), argument("true|false"), optional)]
Expand Down
2 changes: 1 addition & 1 deletion crates/biome_js_syntax/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ biome_aria = { workspace = true }
biome_aria_metadata = { workspace = true }
biome_rowan = { workspace = true, features = ["serde"] }
biome_string_case = { workspace = true }
camino = { workspace = true }
camino = { workspace = true }
enumflags2 = { workspace = true }
schemars = { workspace = true, optional = true }
serde = { workspace = true, features = ["derive"] }
Expand Down
4 changes: 2 additions & 2 deletions crates/biome_service/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use biome_configuration::diagnostics::InvalidIgnorePattern;
use biome_configuration::formatter::{FormatWithErrorsEnabled, FormatterEnabled};
use biome_configuration::html::HtmlConfiguration;
use biome_configuration::javascript::JsxRuntime;
use biome_configuration::max_size::MazSize;
use biome_configuration::max_size::MaxSize;
use biome_configuration::{
push_to_analyzer_assist, push_to_analyzer_rules, BiomeDiagnostic, Configuration,
CssConfiguration, FilesConfiguration, FilesIgnoreUnknownEnabled, FormatterConfiguration,
Expand Down Expand Up @@ -579,7 +579,7 @@ pub struct LanguageSettings<L: ServiceLanguage> {
#[derive(Clone, Default, Debug)]
pub struct FilesSettings {
/// File size limit in bytes
pub max_size: Option<MazSize>,
pub max_size: Option<MaxSize>,

/// gitignore file patterns
pub git_ignore: Option<Gitignore>,
Expand Down
4 changes: 2 additions & 2 deletions packages/@biomejs/backend-jsonrpc/src/workspace.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/@biomejs/biome/configuration_schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e76078c

Please sign in to comment.