[checks] Add check for missing whitespace in `if(`, `for(`, `while(`
Nobody has claimed this yet.
- Dominant language
- TeX
- Stars
- 221
- Forks
- 813
- Avg merge
- 16h 4m
- Merged PRs (30d)
- 36
Description
Related to https://github.com/cplusplus/draft/issues/404
Following https://github.com/cplusplus/draft/commit/4b07eceb78339dd9a7206f92d2fc9c31a7a94528, we now consistently use:
for (while (if (
always with a separating space in the whole document. While we usually give the editors some freedom when it comes to whitespace, it's worth being at least a bit consistent.
Anyhow, we ought to write some checks in check-source.sh which detect
for(while(, orif(
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with check-source.sh and review its existing source checks. Add checks that flag for(, while(, and if( in the draft source; the work is done when these missing-whitespace forms are detected consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell, tex
- Domain
- documentation, tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 62/100