Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 2 additions & 15 deletions .github/styles/Apify/Capitalization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,5 @@ message: "The word '%s' should always be capitalized."
ignorecase: false
level: error
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')
- '(?<![\/\-#\w])actors(?![\/\}])(?!\.\w)'

# Before the word there should be no: /, -, #, ., `, word character
# (avoids anchors, URLs, identifiers, code, and words like 'factors')
#
# After the word there should be no: /, }, -, word character (avoids paths or URLs)
# Also no " =" (avoids code like "actor = ...")
# Also no . followed by a word character (avoids 'actor.md' or 'actor.update()')
- '(?<![\/\-#\.`\w])actor(?![\/\}\-\w])(?! =)(?!\.\w)'
nonword: false
- '\bactor\b'
- '\bactors\b'
Loading