[checks] Add check for missing whitespace in `if(`, `for(`, `while(`
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- shell, tex
- Domain
- documentation, tooling
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.
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(
- Dominant language
- TeX
- Stars
- 221
- Forks
- 813
- Avg merge
- 17h 45m
- Merged PRs (30d)
- 34
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.
More from cplusplus/draft
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
ub-ifndr
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
certification
Difficulty 1/5 Under an hour Newbie friendliness 80/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
bisq-network/support#2181 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
tutorial updates Open
Difficulty 1/5 Under an hour Newbie friendliness 80/100
sveltejs/svelte.dev#2241 ·