Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
mgiffordNice.. 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.
Comment #2
quietone CreditAttribution: quietone at PreviousNext commentedI 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.
Comment #3
jonathan1055 CreditAttribution: jonathan1055 as a volunteer commented#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?