Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for inline comments #314

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

roiDaniela
Copy link

According to this request - #299

I added the needed tests,
Updated the package.json dependecies to the latest versions.

We still need that the traverse labrary owneres will add this request - estools/estraverse#72

After that all tests will work.

gadisn and others added 8 commits June 5, 2016 17:49
In regard to issue estools#206 ("Attach comment to an empty object"):

I have an initial modification of attachComments() and addComments() which supports comments in empty object/block.

I've called them inline comments, and they are attached to the node which represents the empty object/block (i.e. ObjectExpression/BlockStatement).
Indentation got broken with the introduction of inline comments
Add support for inline comments
@roiDaniela roiDaniela changed the title Add s Add support for inline comments Oct 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants