Skip to content

Commit bbf5f3a

Browse files
committed
chore(lint): exclude generator-owned bindings and headers from fmt
1 parent abf546f commit bbf5f3a

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

poly.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,14 @@ exclude = [
3535
"**/*.diff",
3636
"**/*.patch",
3737
"**/frb_generated.rs",
38+
# Sibling outputs of the same flutter_rust_bridge run as `frb_generated.rs` above, plus
39+
# the cbindgen headers. All are generator-owned: `cargo build` re-emits the headers and
40+
# `flutter_rust_bridge_codegen` re-emits the dart, both unformatted. Committing a
41+
# poly-formatted copy is an unstable equilibrium -- the next local build reverts it and
42+
# the Format check goes red again. Let the generator's output be authoritative. ~keep
43+
"**/xberg_bridge_generated/**",
44+
"crates/xberg-ffi/include/*.h",
45+
"packages/go/include/*.h",
3846
"charts/**",
3947
"plugin/.claude-plugin/**",
4048
"plugin/.codex-plugin/**",

0 commit comments

Comments
 (0)