Closed (outdated)
Project:
Coder
Version:
8.x-2.x-dev
Component:
Coder Sniffer
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Jun 2014 at 13:14 UTC
Updated:
10 Aug 2023 at 15:47 UTC
Jump to comment: Most recent
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 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 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?