1
0
Fork 0
mirror of https://github.com/imjasonh/testscript-rs synced 2026-07-08 17:16:38 +00:00
testscript-rs/rustfmt.toml
copilot-swe-agent[bot] 9f297d064b Add rustfmt.toml and update CLAUDE.md with formatting commands
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2025-09-30 06:45:13 +00:00

33 lines
No EOL
688 B
TOML

# rustfmt configuration for testscript-rs
# This ensures consistent code formatting across the project
# Only includes stable rustfmt features for compatibility
# Use the 2021 edition for better formatting
edition = "2021"
# Line width - commonly used value that works well for most screens
max_width = 100
# Hard tabs - set to false for spaces
hard_tabs = false
# Tab spaces
tab_spaces = 4
# Newline style
newline_style = "Unix"
# Use field init shorthand when possible
use_field_init_shorthand = true
# Use try shorthand
use_try_shorthand = true
# Reorder imports
reorder_imports = true
# Remove nested parens
remove_nested_parens = true
# Merge derives
merge_derives = true