Update servo-tidy.toml

This commit is contained in:
michaelgrigoryan25 2023-05-18 18:05:16 +04:00
parent 4aa8a1c418
commit ba07eab022

View file

@ -2,12 +2,8 @@
skip-check-length = false skip-check-length = false
skip-check-licenses = false skip-check-licenses = false
check-alphabetical-order = true check-alphabetical-order = true
check-ordered-json-keys = [ check-ordered-json-keys = ["./resources/prefs.json"]
"./resources/prefs.json", lint-scripts = ["./python/servo/lints/wpt_lint.py"]
]
lint-scripts = [
"./python/servo/lints/wpt_lint.py",
]
# Packages which we avoid using in Servo. # Packages which we avoid using in Servo.
# For each blocked package, we can list the exceptions, # For each blocked package, we can list the exceptions,
@ -15,10 +11,10 @@ lint-scripts = [
[blocked-packages] [blocked-packages]
num = [] num = []
rand = [ rand = [
"hashglobe", # Only used in tests "hashglobe", # Only used in tests
"ipc-channel", "ipc-channel",
"phf_generator", "phf_generator",
"quickcheck", # Only used in tests "quickcheck", # Only used in tests
"servo_rand", "servo_rand",
"tungstenite", "tungstenite",
"ws", "ws",
@ -27,6 +23,8 @@ rand = [
[ignore] [ignore]
# Ignored packages with duplicated versions # Ignored packages with duplicated versions
packages = [ packages = [
"time",
"cookie",
"arrayvec", "arrayvec",
"base64", "base64",
"cfg-if", "cfg-if",
@ -34,7 +32,7 @@ packages = [
"crossbeam-utils", "crossbeam-utils",
"fixedbitset", "fixedbitset",
"getrandom", "getrandom",
"h2", # "h2",
"half", "half",
"image", "image",
"itoa", "itoa",
@ -65,14 +63,14 @@ packages = [
"tokio", "tokio",
"tokio-macros", "tokio-macros",
"tokio-util", "tokio-util",
"http-body", # "http-body",
"httpdate", "httpdate",
"hyper", # "hyper",
"bytes", "bytes",
"pin-project", # "pin-project",
"pin-project-lite", "pin-project-lite",
"pin-project-internal", # "pin-project-internal",
"socket2", # "socket2",
# https://github.com/servo/servo/pull/23288#issuecomment-494687746 # https://github.com/servo/servo/pull/23288#issuecomment-494687746
"gl_generator", "gl_generator",