Fix code formatting for both TS and Rust, and enforce it for future commits
Fix code formatting for both TS and Rust, and enforce it for future commits