RichardLitt / standard-readme-preset

remark preset to configure remark-lint with settings that enforce standard-readme.
ISC License
12 stars 8 forks source link

[Require sections] Check for actual content #28

Closed piranna closed 3 years ago

piranna commented 4 years ago

https://github.com/RichardLitt/standard-readme-preset/blob/58cc3c7b65c4f28fb4846274545d8b3dc422abc7/rules/require-sections.js#L37-L44

Current code only check if the sections exists, but doesn't check if they are empty or not. They should fail if sections are empty and useless.

piranna commented 3 years ago

Closing since PR is already merged.