Rule Source
This rule comes from: https://github.com/mesosphere/dcos-docs-site
Rule Definition
extends: substitution
message: "Use '%s' instead of '%s'."
ignorecase: true
level: error
action:
name: replace
swap:
URL for: URL of
an URL: a URL
This rule enforces consistent usage patterns when referring to URLs in text. It specifically focuses on common preposition mistakes and article usage with "URL". Clear and consistent URL references enhance readability and maintain professional writing standards. The rule is particularly important because improper preposition use with URLs can sound awkward or non-idiomatic to native English speakers.
The rule catches and corrects these patterns:
Key corrections:
This rule comes from: https://github.com/mesosphere/dcos-docs-site
extends: substitution
message: "Use '%s' instead of '%s'."
ignorecase: true
level: error
action:
name: replace
swap:
URL for: URL of
an URL: a URL