support single line style for exported comment #7998
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
documentation
Relates to ESLint's documentation
enhancement
This change enhances an existing feature of ESLint
good first issue
Good for people who haven't worked on ESLint before
help wanted
The team would welcome a contribution from the community for this issue
What version are you using?
v3.14.1
What did you do?
Had an error for no-unused-vars, but my function was intended to be called by the browser. So I looked at the docs and found http://eslint.org/docs/rules/no-unused-vars#exported
So I added a comment like
// exported variableName
What happened?
It did not fix the error, I had to change the comment to
/* exported variableName */
What did you expect to happen?
I find it weird that eslint does not support both comment styles.
The text was updated successfully, but these errors were encountered: