summaryrefslogtreecommitdiffstats
path: root/tools/lint/rustfmt.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tools/lint/rustfmt.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/lint/rustfmt.yml b/tools/lint/rustfmt.yml
new file mode 100644
index 0000000000..f5ad4c0b29
--- /dev/null
+++ b/tools/lint/rustfmt.yml
@@ -0,0 +1,25 @@
+---
+rust:
+ description: Reformat rust
+ min_rustfmt_version: 1.4.12
+ include:
+ - '.'
+ exclude:
+ - dom/webauthn/libudev-sys/
+ - gfx/wr/direct-composition/
+ - gfx/wr/peek-poke/
+ - gfx/wr/webrender_build/
+ - gfx/wgpu/
+ - gfx/wr/wr_malloc_size_of/
+ - media/audioipc/audioipc/src/
+ - media/audioipc/client/src/
+ - media/audioipc/server/src/
+ - media/mp4parse-rust/
+ - servo/
+ extensions:
+ - rs
+ support-files:
+ - 'tools/lint/rust/**'
+ type: external
+ payload: rust:lint
+ code_review_warnings: true