Avoid Latin phrases

Many style guides ban the use of the Latin phrases e.g. and i.e.. People without a strong writing background tend to mix these up, so you can avoid these entirely with the following rule, originally from the Google style implementation:

extends: substitution
message: "Use '%s' instead of '%s'."
link: 'https://developers.google.com/style/abbreviations'
ignorecase: true
level: error
nonword: true
action:
  name: replace
swap:
  '\b(?:eg|e\.g\.)(?=[\s,;])': for example
  '\b(?:ie|i\.e\.)(?=[\s,;])': that is

This version uses substitution to provide alternative text instead of an outright ban.

Tags:

Found this useful?

Buy the book