servo-tidy.toml (2392B)
1 [configs] 2 skip-check-length = false 3 skip-check-licenses = false 4 check-alphabetical-order = false 5 6 [ignore] 7 # Ignored packages with duplicated versions 8 packages = [ 9 # transition to bitflags 2 is underway. 10 "bitflags", 11 "cfg-if", 12 "core-foundation", 13 "core-foundation-sys", 14 "core-graphics", 15 # requires a new version of font-loader, see https://github.com/matprec/rust-font-loader/pull/36 16 "core-text", 17 # derive_more 0.99 is required by glsl-lang 18 "derive_more", 19 # requires updating winit to v0.28 and glutin to v0.30 (to get rid of cocoa v0.24) 20 # AND also requires bumping the core-graphics dependency of winit (not present in v0.28) 21 "foreign-types", 22 "foreign-types-shared", 23 # Several crates depend on 0.2.6, and jobserver depends on 0.3.3. 24 "getrandom", 25 # Internal dependencies of glsl-lang (only used in wrench) require different versions. 26 "hashbrown", 27 # glsl requires 5.1, and xcursor (required by winit) requires 7.1. 28 # when a version of glsl depending on 7.1 is published we can update. 29 "nom", 30 # glsl-lang requires 0.12.1, and glutin requires 0.11.2 31 "parking_lot", 32 "parking_lot_core", 33 "rand", 34 "rand_core", 35 # rinja (dependency of uniffi) requires 2.1, rowan requires 1.1 36 "rustc-hash", 37 # transition to syn 2 is underway. 38 "syn", 39 # Requires an update to clap v4 40 "textwrap", 41 # v1 required by glsl-lang@0.2 42 # v2 by Glean and rkv 43 "thiserror", 44 "thiserror-impl", 45 # v1 required by clap@3, which wrench uses 46 # v2 required by uniffi (transitive of Glean) 47 "indexmap", 48 # Can be fixed by removing time dependency - see bug 1765324 49 "wasi", 50 # Pulled in by mozangle dev-dep on windows 51 "libloading", 52 "windows_i686_gnu", 53 "windows_x86_64_msvc", 54 "windows_x86_64_gnullvm", 55 "windows_x86_64_gnu", 56 "regex-syntax", 57 "windows-targets", 58 "windows-sys", 59 "windows_aarch64_msvc", 60 "windows_i686_msvc", 61 "windows_aarch64_gnullvm", 62 "miniz_oxide", 63 "mio", 64 "socket2", 65 "windows-link", 66 ] 67 68 # Files that are ignored for all tidy and lint checks. 69 files = [ 70 "./wrench/src/egl.rs", # Copied from glutin 71 ] 72 73 # Many directories are currently ignored while we tidy things up 74 # gradually. 75 directories = [ 76 # Generated and upstream code combined with our own. Could use cleanup 77 "./target", 78 "./webrender/src", 79 ]