-
-
Notifications
You must be signed in to change notification settings - Fork 5k
comma-dangle doesn't report functions when using string option #12058
Copy link
Copy link
Closed
Labels
HacktoberfestRecommended issue for those participating in Hacktoberfest https://hacktoberfest.digitalocean.com/Recommended issue for those participating in Hacktoberfest https://hacktoberfest.digitalocean.com/acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussionThis issue has been archived; please open a new issue for any further discussionbugESLint is working incorrectlyESLint is working incorrectlyhelp wantedThe team would welcome a contribution from the community for this issueThe team would welcome a contribution from the community for this issueruleRelates to ESLint's core rulesRelates to ESLint's core rules
Metadata
Metadata
Assignees
Labels
HacktoberfestRecommended issue for those participating in Hacktoberfest https://hacktoberfest.digitalocean.com/Recommended issue for those participating in Hacktoberfest https://hacktoberfest.digitalocean.com/acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussionThis issue has been archived; please open a new issue for any further discussionbugESLint is working incorrectlyESLint is working incorrectlyhelp wantedThe team would welcome a contribution from the community for this issueThe team would welcome a contribution from the community for this issueruleRelates to ESLint's core rulesRelates to ESLint's core rules
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using?
default
Please show your full configuration:
Configuration
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
What did you expect to happen?
I expected it to warn about the missing trailing comma after
a. This is true no matter which string option I'm using. I saw thatcomma-danglechanged in6.0.0so I'm guessing it has something to do with that.What actually happened? Please include the actual, raw output from ESLint.
No errors were reported.
Are you willing to submit a pull request to fix this bug?
Yes