-
Notifications
You must be signed in to change notification settings - Fork 969
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'current' into update-vale
- Loading branch information
Showing
470 changed files
with
74,060 additions
and
3,774 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
# 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 or following a list number | ||
- '(?<!^)(?<![.!?]\s)(?<!\d\.\s)\bSave\b' | ||
- '(?<!^)(?<![.!?]\s)(?<!\d\.\s)\bSave as\b' | ||
- '(?<!^)(?<![.!?]\s)(?<!\d\.\s)\bCancel\b' | ||
- '(?<!^)(?<![.!?]\s)(?<!\d\.\s)\bSubmit\b' | ||
- '(?<!^)(?<![.!?]\s)(?<!\d\.\s)\bEdit\b' | ||
- '(?<!^)(?<![.!?]\s)(?<!\d\.\s)\bAccount settings\b' | ||
- '(?<!^)(?<![.!?]\s)(?<!\d\.\s)\bProject details\b' | ||
- '(?<!^)(?<![.!?]\s)(?<!\d\.\s)\bProfile settings\b' | ||
- '(?<!^)(?<![.!?]\s)(?<!\d\.\s)\bPersonal profile\b' | ||
# Match UI elements that are not bolded (i.e., not within **) | ||
- '(?<!\*\*)\bSave\b(?!\*\*)' | ||
- '(?<!\*\*)\bSave as\b(?!\*\*)' | ||
- '(?<!\*\*)\bCancel\b(?!\*\*)' | ||
- '(?<!\*\*)\bSubmit\b(?!\*\*)' | ||
- '(?<!\*\*)\bEdit\b(?!\*\*)' | ||
- '(?<!\*\*)\bAccount settings\b(?!\*\*)' | ||
- '(?<!\*\*)\bProject details\b(?!\*\*)' | ||
- '(?<!\*\*)\bProfile settings\b(?!\*\*)' | ||
- '(?<!\*\*)\bPersonal profile\b(?!\*\*)' | ||
- '(?<!\*\*)\bIntegrations\b(?!\*\*)' | ||
- '(?<!\*\*)\bNotification settings\b(?!\*\*)' | ||
|
||
scope: raw # Ensure the rule is applied before formatting | ||
scope: | ||
- raw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.