mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Fix tidy json alphabetical order check
This commit is contained in:
parent
7eb4d7a9a7
commit
63a4bf74b0
2 changed files with 1 additions and 2 deletions
|
@ -734,7 +734,7 @@ def check_for_alphabetical_sorted_json_keys(key_value_pairs):
|
|||
def check_json_requirements(filename):
|
||||
def check_fn(key_value_pairs):
|
||||
check_for_possible_duplicate_json_keys(key_value_pairs)
|
||||
if filename in config["check-ordered-json-keys"]:
|
||||
if filename in normilize_paths(config["check-ordered-json-keys"]):
|
||||
check_for_alphabetical_sorted_json_keys(key_value_pairs)
|
||||
return check_fn
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ skip-check-length = false
|
|||
skip-check-licenses = false
|
||||
check-ordered-json-keys = [
|
||||
"./resources/prefs.json",
|
||||
"./resources/package-prefs.json",
|
||||
]
|
||||
lint-scripts = [
|
||||
"./python/servo/lints/wpt_lint.py",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue