Forbid empty comments
See original GitHub issueRule request
Thesis
We should ban comments like this one:
#
my_var = 1
But, empty lines in the middle are fine:
# First line
#
# Samples:
# One
# Two
my_var = 1
We ban only empty lines in the beginning and in the end.
Reasoning
Why not?
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
How to Completely Disable Comments in WordPress (Ultimate ...
Select Do not allow from the comments dropdown box and click on Update. This will disable comments on all your selected posts.
Read more >How can I prevent Subversion commits without comments?
If your intention is to prevent mistakes when commiting without comments, the solutions provided here are going to work. If you want this...
Read more >How stop the process of submitting a comment if a field is ...
So my question is how to stop the comment submit, if the 'review_title' field is empty? comments · Share.
Read more >User can post an empty comment review · Issue #4630 - GitHub
Posting an empty review (comment) on a PR gets accepted.. This is the same thing as rejecting a PR.. Screenshots. Here is the...
Read more >no-empty - ESLint - Pluggable JavaScript Linter
Empty block statements, while not technically errors, usually occur due to refactoring that wasn't completed. They can cause confusion when reading code.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Elton-Lin updated, sorry. I have to read more carefully 🙂
Thanks a lot!