Closed Brianzchen closed 3 years ago
cc: @gajus @angelica-bocanegra
Found that node.leadingComments
won't work when published, for some reason the test suite still populates the values. And eslint docs recommend sourceCode.getCommentsBefore()
instead which still lead to reliable tests and now also replicates the real world
https://eslint.org/docs/user-guide/migrating-to-4.0.0#ast-nodes-no-longer-have-comment-properties
:tada: This PR is included in version 5.8.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Closes #487