-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Rule: Warn for dangling commas #13
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
enhancement
This change enhances an existing feature of ESLint
rule
Relates to ESLint's core rules
Comments
iancmyers
added a commit
to iancmyers/eslint
that referenced
this issue
Jul 19, 2013
Created the no-dangle rule, which warns when it encounters a trailing comma in an object literal. The following will raise warnings: var foo = { bar: "baz", } Fixes issue eslint#13
Merged
iancmyers
added a commit
to iancmyers/eslint
that referenced
this issue
Jul 19, 2013
Created the no-dangle rule, which warns when it encounters a trailing comma in an object literal. The following will raise warnings: var foo = { bar: "baz", } Fixes issue eslint#13
iancmyers
added a commit
to iancmyers/eslint
that referenced
this issue
Jul 19, 2013
Created the no-dangle rule, which warns when it encounters a trailing comma in an object literal. The following will raise warnings: var foo = { bar: "baz", } Fixes issue eslint#13
I believe this issue can be closed. |
Yes it can. Please be sure to say "(fixes #13)" in your commit messages from now on so GitHub will automatically close the issue when merged (this is in the contributor guide). |
That extra "issue" messes it up. No other words between "fixes" and the issue number. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
enhancement
This change enhances an existing feature of ESLint
rule
Relates to ESLint's core rules
This rule should warn when a dangling comma is found in object literal syntax:
The rule ID should be "no-dangle"
Man I love this rule ID. :)
The text was updated successfully, but these errors were encountered: