rustfmt settings and ignores
parent
d247291572
commit
460a8d1755
@ -0,0 +1,23 @@
|
||||
# Maximum width of each line
|
||||
max_width = 100
|
||||
|
||||
# Error if unable to get all lines within max_width
|
||||
error_on_line_overflow = false
|
||||
|
||||
# Use tab characters for indentation, spaces for alignment
|
||||
hard_tabs = true
|
||||
|
||||
# Convert /* */ comments to // comments where possible
|
||||
normalize_comments = false
|
||||
|
||||
# Put a trailing comma after a block based match arm (non-block arms are not affected)
|
||||
match_block_trailing_comma = true
|
||||
|
||||
# Replace uses of the try! macro by the ? shorthand
|
||||
use_try_shorthand = true
|
||||
|
||||
# don't screw alignment
|
||||
ignore = [
|
||||
'lib/dnsbox-base/src/common_types/types.rs',
|
||||
'lib/dnsbox-base/src/common_types/classes.rs',
|
||||
]
|
Loading…
Reference in New Issue