This repository has been archived by the owner on Aug 18, 2020. It is now read-only.
Add trailing comma function support to comma-dangle and prettier config #55
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
comma-dangle
will now enforce trailing commas in multi-line function calls via theesnext
config. This was previously enforced through our babel config (babel/func-params-comma-dangle
) but the rule has been deprecated. We never updated the eslintcomma-dangle
to reflect the deprecation.the
trailingComma
setting in ourprettier
config has also been updated thetrailingComma
option toall
. This will also enforce trailing commas in multiline function callsAdded a
.prettierrc
file to the project so maintainers can get prettier formatting via editor plugins