Skip to content

Commit

Permalink
fix: remove unused dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
abidjappie committed May 14, 2024
1 parent eaa7cb4 commit 94b4e8f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 21 deletions.
8 changes: 0 additions & 8 deletions Cargo.lock

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

12 changes: 2 additions & 10 deletions crates/biome_grit_formatter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,13 @@ version = "0.0.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
biome_diagnostics = { workspace = true }
biome_formatter = { workspace = true }
biome_grit_syntax = { workspace = true }
biome_rowan = { workspace = true }
biome_suppression = { workspace = true }

[dev-dependencies]
biome_formatter_test = { path = "../biome_formatter_test" }
biome_grit_parser = { path = "../biome_grit_parser" }
biome_parser = { path = "../biome_parser" }
biome_service = { path = "../biome_service" }
countme = { workspace = true, features = ["enable"] }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
tests_macros = { path = "../tests_macros" }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }

# cargo-workspaces metadata
[package.metadata.workspaces]
Expand Down
4 changes: 1 addition & 3 deletions xtask/codegen/src/formatter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -796,9 +796,7 @@ fn get_node_concept(
_ if name.contains("Operation") || name.contains("Pattern") => NodeConcept::Pattern,
_ if name.contains("Predicate") => NodeConcept::Predicate,
_ if name.ends_with("Definition") => NodeConcept::Declaration,
_ if matches!(name, "CodeSnippet") || name.ends_with("Literal") => {
NodeConcept::Value
}
_ if name == "CodeSnippet" || name.ends_with("Literal") => NodeConcept::Value,
_ => NodeConcept::Auxiliary,
},

Expand Down

0 comments on commit 94b4e8f

Please sign in to comment.