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 comments #531

Closed
nzakas opened this Issue Jan 18, 2014 · 1 comment

Comments

Projects
None yet
1 participant
@nzakas
Member

nzakas commented Jan 18, 2014

Right now, rules don't have event access to comments. If you want to inspect comments for anything, you need to listen for a particular node and then extract its comments. In order to have comment-based rules, we need to fire LineComment and BlockComment events.

@nzakas

This comment has been minimized.

Show comment
Hide comment
@nzakas

nzakas Jan 18, 2014

Member

Working on this.

Member

nzakas commented Jan 18, 2014

Working on this.

nzakas added a commit that referenced this issue Jan 18, 2014

Add support for comment events (fixes #531)
Add :after events for comments

@nzakas nzakas closed this in a024563 Jan 18, 2014

nzakas added a commit that referenced this issue Jan 18, 2014

Merge pull request #532 from eslint/comments
Add support for comment events (fixes #531)

@eslint eslint bot locked and limited conversation to collaborators Feb 7, 2018

@eslint eslint bot added the archived due to age label Feb 7, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.