Skip to content

Commit bc9d5cf

Browse files
style(Common): Consolidate lint allowances in build.rs
Move blanket lint suppression attributes (`non_snake_case`, `dead_code`, etc.) from the top of various source modules into `build.rs`. This isolates build-script specific warnings from the core library code. Aligns with recent efforts to enforce strict PascalCase naming in `Source/` modules by removing scattered `#![allow(...)]` attributes, ensuring the Common crate remains clean while still allowing the build script to handle its own code generation noise without pollution.
1 parent 428942c commit bc9d5cf

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

build.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
#![allow(
2+
non_snake_case,
3+
non_camel_case_types,
4+
non_upper_case_globals,
5+
dead_code,
6+
unused_imports,
7+
unused_variables,
8+
unused_assignments
9+
)]
10+
111
use serde::Deserialize;
212

313
#[derive(Deserialize)]

0 commit comments

Comments
 (0)