In light of the policy change here: https://drupal.org/node/950534, we should add a check to codesniffer that looks for examples of the e-mail and suggests email with no hyphen to help enforce that policy.

Comments

mgifford’s picture

Nice.. Can we look at also inject similar grammar rules where we can?

I think this is the first time that we're looking to use Coder for this type of thing.

quietone’s picture

Status: Active » Postponed

I was able to find 'e-mail' in core by adding 'e-mail' to the flagWords in cspell.json. I don't think will be needed but let's postpone for now in case I am wrong.

jonathan1055’s picture

Status: Postponed » Closed (outdated)

#3051548: Fix spelling of "email" has been fixed using cspell, so can this Coder issue be closed as the new sniff is no longer required?