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

Rule Suggestion: comma-dangle: always-multiline #486

Closed
schtauffen opened this issue Apr 14, 2016 · 2 comments

Comments

@schtauffen
Copy link

commented Apr 14, 2016

comma-dangle: ["error", "always-multiline"]

It saves time when editing and prevents stupid errors.
If you've ever used golang then you probably know how awesome this rule is.

I am forced to use https://github.com/feross/eslint-config-standard until this is changed :'(

@dcousens dcousens added the i disagree label Apr 14, 2016

@dcousens

This comment has been minimized.

Copy link
Member

commented Apr 14, 2016

#240
#400
#464

HTH

@dcousens dcousens closed this Apr 14, 2016

@qm3ster

This comment has been minimized.

Copy link

commented Sep 18, 2017

  1. ES8 brings this to function parameter lists and calls (but lists and objects are more often multilined)
  2. If you write for old browsers, you should transpile
  3. It's one commit to --fix a codebase, much better than years of diffs with spurious highlighting

@lock lock bot locked as resolved and limited conversation to collaborators May 10, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
3 participants
You can’t perform that action at this time.