aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-01-13 12:38:27 -0600
committerRob Herring <robh@kernel.org>2023-08-24 11:43:57 -0500
commit80f1c3c76dbc8dfa0b843daed87a6b071547307e (patch)
tree377f384addae8f8eaf81e0128ed6759cc89c52a5
parentdt-bindings: Drop remaining unneeded quotes (diff)
downloadwireguard-linux-80f1c3c76dbc8dfa0b843daed87a6b071547307e.tar.xz
wireguard-linux-80f1c3c76dbc8dfa0b843daed87a6b071547307e.zip
dt-bindings: yamllint: Enable quoted string check
yamllint has a quoted string check. Enable the check aligned with the DT schema style which is only using quotes when necessary with the exception of regex patterns. There's also the frequent occurrence of '/' which we allow rather than fixing. Link: https://lore.kernel.org/all/20230324202243.2442956-1-robh@kernel.org/ Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to '')
-rw-r--r--Documentation/devicetree/bindings/.yamllint5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/.yamllint b/Documentation/devicetree/bindings/.yamllint
index 4abe9f0a1d46..fea5231e1320 100644
--- a/Documentation/devicetree/bindings/.yamllint
+++ b/Documentation/devicetree/bindings/.yamllint
@@ -1,6 +1,11 @@
extends: relaxed
rules:
+ quoted-strings:
+ required: only-when-needed
+ extra-allowed:
+ - '[$^,[]'
+ - '^/$'
line-length:
# 80 chars should be enough, but don't fail if a line is longer
max: 110