Skip to content

Switch to using comma-dangle: always-multiline #3998

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

Merged
merged 2 commits into from
Jun 3, 2015
Merged

Conversation

bgw
Copy link
Contributor

@bgw bgw commented Jun 1, 2015

This is a machine-generated codemod, but it's pretty safe since it was generated by hooking into eslint's own report.

A few files had to be touched up by hand because there were existing formatting issues with nested arrays/objects:

  • src/shared/utils/__tests__/OrderedMap-test.js
  • src/shared/utils/__tests__/Transaction-test.js
  • src/shared/utils/__tests__/traverseAllChildren-test.js
  • src/isomorphic/children/__tests__/ReactChildren-test.js

@zpao
Copy link
Member

zpao commented Jun 2, 2015

Sure, let's do it. Can you also remove the disable comments in npm-react-codemod (https://github.com/facebook/react/blob/master/npm-react-codemod/transforms/class.js#L11 and others)

bgw added 2 commits June 2, 2015 16:57
This is a machine-generated codemod, but it's pretty safe since it was
generated by hooking into eslint's own report.

A few files had to be touched up by hand because there were existing
formatting issues with nested arrays/objects:

src/shared/utils/__tests__/OrderedMap-test.js
src/shared/utils/__tests__/Transaction-test.js
src/shared/utils/__tests__/traverseAllChildren-test.js
src/isomorphic/children/__tests__/ReactChildren-test.js
Commit 9d3f7f3 reverses the rule, so
these comments aren't needed anymore.
bgw added a commit that referenced this pull request Jun 3, 2015
Switch to using comma-dangle: always-multiline
@bgw bgw merged commit 4c3e965 into facebook:master Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants