skip vendored files from formatting

This commit is contained in:
bunnie 2024-01-14 23:58:01 +08:00
parent 607db9c573
commit b4e632130a

View file

@ -2,6 +2,9 @@
# - run this on Linux to fix Windows changing .rs files to +x:
# `find . -name "*.rs" -exec chmod -x {} \;`
# Don't format these vendored-in files
ignore = ["libs/mass-storage/**"]
# I can't rely on contributors using .editorconfig
newline_style = "Unix"
# require the shorthand instead of it being optional