-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
SCSS: don't add extra comma after last comment in map #6918
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
Conversation
alexander-akait
left a 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.
Good job, thanks, in future try to avoid extra tests not related to issue, because it is hard to review
alexander-akait
left a 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.
Oh, problem still exists
$my-map: (
"foo": 1,
// Comment
"bar": 2,
// Comment
);Should be
$my-map: (
"foo": 1,
// Comment
"bar": 2
// Comment
);and
$my-map: (
"foo": 1,
// Comment
"bar": 2,
// Comment
);with --trailing-comma all
|
As I said, this PR only fix comma after the last comment. #6920 is another issue. |
alexander-akait
left a 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.
Okey, let's solve this in other PR
|
/cc @lydell need approve 😄 |
* 'master' of github.com:prettier/prettier: Don't lowercase element names in CSS selectors (#6947) Support string-to-package config in JSON schema: (#6941) Rename SECURITY.md to .github/SECURITY.md Create SECURITY.md Add the XML plugin to the docs (#6944) TypeScript: Fix formatting of type operators as arrow function… (#6901) SCSS: don't add extra comma after last comment in map (#6918) Remove typescript-etw from build (#6919)
fixes: #6911
FYI:
docs/directory)changelog_unreleased/*/pr-XXXX.mdfile followingchangelog_unreleased/TEMPLATE.md.✨Try the playground for this PR✨