diff --git a/.github/styles/Apify/Apify.yml b/.github/styles/Apify/Apify.yml index ff61ff6ca2..596f869676 100644 --- a/.github/styles/Apify/Apify.yml +++ b/.github/styles/Apify/Apify.yml @@ -3,8 +3,13 @@ message: "Use '%s' instead of '%s'." ignorecase: false level: warning swap: + # Naming consistency Apify Dashboard: Apify Console apify freelancers: Apify freelancers Apify Platform: Apify platform + + # Product names '(?:[Tt]he\s)?[Aa]pify\sproxy': Apify Proxy + + # Writing style circa: approx. diff --git a/.github/styles/Apify/Capitalization.yml b/.github/styles/Apify/Capitalization.yml index 88587e6a98..f7af29a78d 100644 --- a/.github/styles/Apify/Capitalization.yml +++ b/.github/styles/Apify/Capitalization.yml @@ -1,20 +1,18 @@ extends: existence -message: "The word '%s' should always be capitalized." +message: "The word '%s' should always be capitalized when referring to Apify products." ignorecase: false level: error +scope: text tokens: - # Before the word there should be no: /, -, #, word character - # (avoids anchors, URLs, identifiers, and words like 'factors') - # - # After the word there should be no: /, } (avoids paths or URLs) - # Also no . followed by a word character (avoids 'actors.md') + # Apify Actors - avoid matching in URLs, code, or other contexts - '(?