summaryrefslogtreecommitdiffstats
path: root/gfx/wr/servo-tidy.toml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /gfx/wr/servo-tidy.toml
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'gfx/wr/servo-tidy.toml')
-rw-r--r--gfx/wr/servo-tidy.toml50
1 files changed, 50 insertions, 0 deletions
diff --git a/gfx/wr/servo-tidy.toml b/gfx/wr/servo-tidy.toml
new file mode 100644
index 0000000000..442c407fca
--- /dev/null
+++ b/gfx/wr/servo-tidy.toml
@@ -0,0 +1,50 @@
+[configs]
+skip-check-length = false
+skip-check-licenses = false
+check-alphabetical-order = false
+
+[ignore]
+# Ignored packages with duplicated versions
+packages = [
+ # transition to bitflags 2 is underway.
+ "bitflags",
+ "cfg-if",
+ "core-foundation",
+ "core-foundation-sys",
+ "core-graphics",
+ # requires a new version of font-loader, see https://github.com/matprec/rust-font-loader/pull/36
+ "core-text",
+ # requires updating winit to v0.28 and glutin to v0.30 (to get rid of cocoa v0.24)
+ # AND also requires bumping the core-graphics dependency of winit (not present in v0.28)
+ "foreign-types",
+ "foreign-types-shared",
+ "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",
+ # transition to syn 2 is underway.
+ "syn",
+ "synstructure",
+ # 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",
+]