syntax-tree / unist-util-is

utility to check if a node passes a test
https://unifiedjs.com
MIT License
38 stars 8 forks source link

Add clarification on differences of `is.convert` #13

Closed Roang-zero1 closed 4 years ago

Roang-zero1 commented 4 years ago

Make it clear that is.convert does not validate the parameters passed to the created function. Addresses #12

Roang-zero1 commented 4 years ago

In this pull request I've also updated the editorconfig to allow line-breaks in Markdown files (allow trailing white-spaces). An alternative would be to use \ I would like input on what is preferred.

wooorm commented 4 years ago

Thanks @Roang-zero1 for mentioning this in the docs!

<br>s or whole emphasised sentences are typically not semantic, so I instead opted to rewrite the sentence a bit. Let me know if you don’t feel my wording captures what you intended to write and we can make it clearer!

Roang-zero1 commented 4 years ago

LGTM