From 32f0fcf7a5015cdfd8cab837c44326ee0ac30c6f Mon Sep 17 00:00:00 2001 From: Josefine Hansson Date: Tue, 30 Apr 2024 15:43:42 +0200 Subject: [PATCH 1/2] removes the warning about italics --- scripts/validation/rules/rules-tutorials.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/scripts/validation/rules/rules-tutorials.yml b/scripts/validation/rules/rules-tutorials.yml index 1adbe290da..ff8d469c1d 100644 --- a/scripts/validation/rules/rules-tutorials.yml +++ b/scripts/validation/rules/rules-tutorials.yml @@ -17,17 +17,17 @@ # format: markdown # errorMessage: Missing '## Goals' section. -- regex: "(?<=\\s)\\*[^* ].*\\*[^*]" - shouldMatch: false - type: warning - format: markdown - errorMessage: The use of italic emphasis is discouraged. +#- regex: "(?<=\\s)\\*[^* ].*\\*[^*]" +# shouldMatch: false +# type: warning +# format: markdown +# errorMessage: The use of italic emphasis is discouraged. -- regex: "(?<=\\s)_[^_].*_[^_]" - shouldMatch: false - type: warning - format: markdown - errorMessage: The use of italic emphasis is discouraged. +# - regex: "(?<=\\s)_[^_].*_[^_]" +# shouldMatch: false +# type: warning +# format: markdown +# errorMessage: The use of italic emphasis is discouraged. - regex: "^\\*{3}(?: +\\S+)|(?:\\S+ +)\\*{3}$" shouldMatch: false From ec70d0dcc0ec6c02b7b6902d6e125b9894c88e83 Mon Sep 17 00:00:00 2001 From: Josefine Hansson Date: Tue, 30 Apr 2024 15:43:53 +0200 Subject: [PATCH 2/2] removes the bluetooth check as regex is wrong --- scripts/validation/rules/rules-trademarks.yml | 106 +++++++++--------- 1 file changed, 53 insertions(+), 53 deletions(-) diff --git a/scripts/validation/rules/rules-trademarks.yml b/scripts/validation/rules/rules-trademarks.yml index 73f09baedf..1fa76e3e47 100644 --- a/scripts/validation/rules/rules-trademarks.yml +++ b/scripts/validation/rules/rules-trademarks.yml @@ -1,54 +1,54 @@ -# Bluetooth® rule -- regex: "((?