diff --git a/styles/custom/LatinAbbreviations.yml b/styles/custom/LatinAbbreviations.yml index 402ac42252b..f5962273440 100644 --- a/styles/custom/LatinAbbreviations.yml +++ b/styles/custom/LatinAbbreviations.yml @@ -6,6 +6,7 @@ ignorecase: false swap: - e.g.: for example - eg: for example + - e.g: for example - i.e.: for example - i.e.: that is - etc.: and so on diff --git a/styles/custom/UIElements.yml b/styles/custom/UIElements.yml new file mode 100644 index 00000000000..adcda09e000 --- /dev/null +++ b/styles/custom/UIElements.yml @@ -0,0 +1,17 @@ +# styles/custom/BoldUIElements.yml +extends: existence +message: "UI elements like '%s' should be bold." +level: warning +tokens: + # Match UI elements that are not bolded (i.e., not within **), but exclude those starting a sentence + - '(?