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
Set trailingComma
default value to es5
(outdated)
#6910
Conversation
@@ -1,2 +1,2 @@ | |||
run_spec(__dirname, ["typescript"], { trailingComma: "none" }); | |||
run_spec(__dirname, ["typescript"]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I change the test orders to help review, snap changes should only be options
part
@@ -1987,7 +1987,7 @@ $my-map: ( | |||
"foo": 1, | |||
// Comment | |||
"bar": 2, | |||
// Comment | |||
// Comment, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be a scss bug, need fix with another PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue: #6911
@@ -15,7 +15,7 @@ printWidth: 80 | |||
advancedSearchService.patientInformationFieldsRow2 && | |||
advancedSearchService.patientInformationFieldsRow2.indexOf( | |||
advancedSearchService.formElementData.customFieldList[i].customFieldType | |||
) !== -1 | |||
) !== -1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR #6912
src/language-js/options.js
Outdated
{ | ||
value: "es5", | ||
description: | ||
"Trailing commas where valid in ES5 (objects, arrays, etc.)" | ||
}, | ||
{ value: "none", description: "No trailing commas." }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this moved?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
playground shows none above es5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’d prefer if the order wasn’t changed, as that way, es5
is still implied to be between none
and all
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ExE-Boss why? after changing default to es5
, shouldn't we put it on the top?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Someone can give a link where we decided that we will change it in the next version, because we only talk about what we may change, but I did not see where we decided to change it
Changing the default of |
b7d38cb
to
f99e3d9
Compare
accidentlly force-pushed a wrong commit, auto closed, please reopen |
The "Reopen" button is disabled for me. Its tooltip says: "There are no new commits on the fisker:trailing-comma-es5 branch." |
new PR #6963 |
trailingComma
default value to es5
trailingComma
default value to es5
(outdated)
docs/
directory)changelog_unreleased/*/pr-XXXX.md
file followingchangelog_unreleased/TEMPLATE.md
.✨Try the playground for this PR✨