summaryrefslogtreecommitdiffstats
path: root/gfx/wr/servo-tidy.toml
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/wr/servo-tidy.toml')
-rw-r--r--gfx/wr/servo-tidy.toml39
1 files changed, 39 insertions, 0 deletions
diff --git a/gfx/wr/servo-tidy.toml b/gfx/wr/servo-tidy.toml
new file mode 100644
index 0000000000..05227a952c
--- /dev/null
+++ b/gfx/wr/servo-tidy.toml
@@ -0,0 +1,39 @@
+[configs]
+skip-check-length = false
+skip-check-licenses = false
+check-alphabetical-order = false
+
+[ignore]
+# Ignored packages with duplicated versions
+packages = [
+ "cfg-if",
+ "core-foundation",
+ "core-foundation-sys",
+ "core-graphics",
+ "gl_generator",
+ # Internal dependencies of glsl-lang (only used in wrench) require different versions.
+ "hashbrown",
+ # glsl requires 5.1, and xcursor (required by winit) requires 7.1.
+ # when a version of glsl depending on 7.1 is published we can update.
+ "nom",
+ # glsl-lang requires 0.12.1, and glutin requires 0.11.2
+ "parking_lot",
+ "parking_lot_core",
+ "rand",
+ "rand_core",
+ # Can be fixed by removing time dependency - see bug 1765324
+ "wasi",
+]
+
+# Files that are ignored for all tidy and lint checks.
+files = [
+ "./wrench/src/egl.rs", # Copied from glutin
+]
+
+# Many directories are currently ignored while we tidy things up
+# gradually.
+directories = [
+ # Generated and upstream code combined with our own. Could use cleanup
+ "./target",
+ "./webrender/src",
+]