Commit Graph
61 Commits
Author SHA1 Message Date
Konv Suuandfisker Cheung d4126e8c97 Preserve trailing commas in single-item SCSS lists (#19928)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-09-02 14:54:22 +08:00
Alandandfisker Cheung 8e05b371ab Fix SCSS compound comparison line breaks (#19687)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
Signed-off-by: Aland <158173939+aland-omed@users.noreply.github.com>
2026-07-22 09:46:33 +08:00
fisker 05cf896cfc Clean changelog_unreleased 2026-06-27 18:33:45 +08:00
Konv Suuandfisker 45f6a5ff0f Remove space before ; delimiter in SCSS if() function (#19384)
Co-authored-by: fisker <lionkay@gmail.com>
2026-06-16 15:05:02 +08:00
Rayan Salhabandfisker Cheung d7cf639b76 Avoid trailing commas for parenthesized SCSS scalars (#19091)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-05-27 05:29:26 +08:00
fisker 8c7e6d4338 Merge branch 'v3.8.x'
# Conflicts:
#	tests/format/scss/function/__snapshots__/format.test.js.snap
2026-04-15 09:05:23 +08:00
fisker 07bad1f045 Clean changelog_unreleased 2026-04-15 08:57:11 +08:00
Konv Suuandfisker Cheung 177f908981 Prevent trailing comma in SCSS if() function (#18471)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-04-15 08:50:53 +08:00
Konv Suuandfisker Cheung 717731d4b5 Preserve line breaks for inline comments in SCSS maps (#18535)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-12-30 17:29:19 +08:00
Konv Suu 4f1c4d9eb8 Prevent SCSS math expressions in group treated as map item (#18530) 2025-12-26 16:24:35 +08:00
Konv Suuandfisker Cheung f3c5c4ec17 Prevent trailing comma in SCSS if() function (#18471)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-12-16 08:37:18 +08:00
fisker c4905e5be9 Clean changelog_unreleased 2025-11-27 16:31:35 +08:00
Konv Suuandfisker 892430cee8 Prevent matching mixin calls inside arguments (#17903)
Co-authored-by: fisker <lionkay@gmail.com>
2025-09-18 20:52:49 +08:00
Konv Suuandautofix-ci[bot] f256652730 Fix parentheses space problem in SCSS mixin argument (#17836)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-04 15:45:50 +08:00
Sosuke Suzuki f53791a2c8 Clean changelog_unreleased 2024-11-26 13:53:25 +09:00
43feccbf37 Fixed wrong trailing comma position after comment in scss (#16617)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: Cyrille David <dcyriller@users.noreply.github.com>
2024-10-10 16:15:00 +08:00
fisker Cheung 5cd15f2168 Fix SCSS parenthesized value group print (#16607) 2024-08-26 08:23:31 +08:00
Sosuke Suzuki a3e1be82b6 Clean changelog 2023-11-13 12:04:23 +09:00
auvred 7c512651f8 Do not split call of scss function with leading dash (#15370)
* Do not split call of scss function with leading dash

* add changelog

* apply check only for scss parser

* Revert "apply check only for scss parser"

This reverts commit 378bf1ac11830ff22c922efbd10c322ed573a31e.

* add more test cases

* use test case from original issue
2023-09-13 21:46:22 +09:00
Sosuke Suzuki b35d6f6612 Remove changelog 2023-08-16 00:47:18 +09:00
auvred 8a3e73c6c0 Do not add trailing comma for grouped scss comments (#15217)
* Do not add trailing comma for grouped scss comments

* add changelog
2023-08-11 18:44:05 +09:00
Sosuke Suzuki 75ac271661 Clean changelog 2023-08-03 15:12:46 +09:00
Pamela Lozano 5b38f6ec4f Add space before unary minus followed by a function call. (#15129) 2023-07-22 01:42:32 +09:00
Sosuke Suzuki 266344398c Clean changelog 2023-07-06 01:47:41 +09:00
fisker Cheung 0cd7e10447 Merge branch 'main' into next
# Conflicts:
#	docs/browser.md
#	src/language-js/print/literal.js
#	src/language-js/print/misc.js
#	src/language-js/printer-estree.js
#	tests/format/markdown/auto-link/jsfmt.spec.js
#	yarn.lock
2023-01-10 09:38:45 +08:00
Sosuke Suzuki a37ce0b8f6 Clean changelog_unreleased (#14144)
Clean changelog
2023-01-09 16:48:32 +09:00
Sosuke Suzukiandfisker Cheung 0c5d4f3458 Fix removing commas from function arguments in maps (#14089)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-01-06 17:13:41 +09:00
fisker Cheung daeb90f1ca Merge branch 'main' into next
# Conflicts:
#	package.json
#	src/language-css/printer-postcss.js
#	src/language-handlebars/printer-glimmer.js
#	src/language-markdown/clean.js
#	src/language-markdown/printer-markdown.js
#	yarn.lock
2022-12-15 19:16:59 +08:00
b50dfd1974 fix: preserve empty lines between nested SCSS maps (#13931)
Co-authored-by: Jeremy Neander <jeremy.neander@glassdoor.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-12-15 14:54:47 +08:00
Sosuke Suzuki a8869bef55 Merge branch 'main' into next 2022-12-08 22:00:17 +09:00
Sosuke Suzuki be4dd620bf Clean changelog_unreleased 2022-12-08 02:31:11 +09:00
fisker Cheung 817460b93a Merge branch 'main' into next
# Conflicts:
#	netlify.toml
2022-12-01 15:22:35 +08:00
4a1e32a9de Fixed scss function arguments on different lines in maps #9128 (#9184)
Co-authored-by: agamkrbit <agamkrbit123@gmail.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-11-24 17:46:29 +08:00
fisker Cheung 52fbecc89b Merge branch 'main' into next
# Conflicts:
#	docs/browser.md
#	package.json
#	yarn.lock
2022-11-23 19:44:31 +08:00
Sosuke Suzuki 9c45de6842 Clean changelog 2022-11-23 14:11:13 +09:00
Sosuke Suzuki 63be4c7f8b SCSS: Fix formatting string value that includes escape \ (#13487)
* Ignore ignoreing escape for `value-string`

* Revert

* Add changelog
2022-09-18 23:42:16 +09:00
José Pereiraandfisker Cheung 2d3a274847 fix: extra space between '#' and '{' (#13286)
* fix: extra space between '#' and '{'

* Update src/language-css/printer-postcss.js

Co-authored-by: fisker Cheung <lionkay@gmail.com>

* adding changelog

* Update 13286.md

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-08-17 23:32:29 +09:00
Sosuke Suzuki 58e48b79da Clean changelog_unreleased 2022-03-16 13:35:41 +09:00
Lucas Duailibe 543aa9abf1 Fix printing of SCSS selector() function (#12213) 2022-02-03 12:54:10 -03:00
fisker Cheung 7bce1d02c7 Fix comments inside map (#11920) 2021-12-06 21:31:51 +08:00
sosukesuzuki 7fc196e96b Clean changelog_unreleased 2021-11-25 23:12:16 +09:00
04aa850fde Add 2.5 blog (#11823)
* Mark highlights

* Update intro

* Draft

* Update changelog

* Update changelog

* Regenerate draft

* Update TS 4.5 blog URL

* Regenerate draft

* Fix by prettier

* Fix

* Remove changelogs released already

* Address review

* Update

* Regenerate draft

* Regenerate draft

* Regenerate

* Update changelog_unreleased/typescript/11515.md

Co-authored-by: Jed Fox <git@jedfox.com>

* Update changelog_unreleased/typescript/11721.md

Co-authored-by: Jed Fox <git@jedfox.com>

* Update changelog_unreleased/mdx/11563.md

Co-authored-by: Jed Fox <git@jedfox.com>

* Update changelog_unreleased/mdx/11563.md

Co-authored-by: Jed Fox <git@jedfox.com>

* Update website/blog/2021-11-21-2.5.0.md

Co-authored-by: Jed Fox <git@jedfox.com>

* Update website/blog/2021-11-21-2.5.0.md

Co-authored-by: Jed Fox <git@jedfox.com>

* Regenerate

* Address reviews

* Regenerate

* Use examples

* Regenerate

* Address review

* Renegrate

* Address review

* Regenerate

* MDX 2 comments => MDX v2 comment syntax

* Fix

* Update changelog_unreleased/blog-post-intro.md

Co-authored-by: Lucas Azzola <derflatulator@gmail.com>

* Update changelog_unreleased/typescript/11721.md

Co-authored-by: Lucas Azzola <derflatulator@gmail.com>

* Regenerate

* Update changelog_unreleased/typescript/11515.md

Co-authored-by: Jed Fox <git@jedfox.com>

* Regenerate

* Address review

* Regenerate

* Address review

* Regenerate

Co-authored-by: Jed Fox <git@jedfox.com>
Co-authored-by: Lucas Azzola <derflatulator@gmail.com>
2021-11-25 23:04:16 +09:00
db0e9d228d Fix @forward with formatting error (#11683)
* Resolves #11636. Added null check for iPrevNode

* undefined check

* Add changelog

* Add tests

* Update tests

* Update changelog

Co-authored-by: Sriram Arul <sriram.arul@zohocorp.com>
Co-authored-by: sosukesuzuki <aosukeke@gmail.com>
2021-10-29 18:16:50 +09:00
Sosuke Suzuki 79fa4f9383 Improve with (...) formatting (#11637)
* Null checking

* Improve configuration formatting

* Add tests

* Add changelog

* Format
2021-10-19 15:31:53 +09:00
Ivan NikolićandGeorgii Dolzhykov 59b5eb4e1f Fix wildcard syntax in @forward (#11482) (#11487)
* Fix wildcard syntax in `@forward` (#11482)

* Add additional tests

* Apply suggestions from code review

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2021-09-16 14:08:03 +09:00
sosukesuzuki d812687502 Clean changelog 2021-09-09 18:29:57 +09:00
Ivan Nikolićandsosukesuzuki 1c4da1e441 Consistently quote Sass modules strings (#11461)
* Consistently quote Sass modules strings

Fixes #11053.

* Add module rule name check function

* Add more tests for `@use` and `@forward`

* Lint changelog

* Lint files

Co-authored-by: sosukesuzuki <aosukeke@gmail.com>
2021-09-09 13:18:12 +09:00
Georgii Dolzhykov 171b1ee2bf Clean changelog_unlreleased 2021-05-10 00:17:59 +03:00
fisker Cheung 743ef3de9b SCSS: Fix maps with keys that are lists or maps (#10005) 2021-01-26 09:45:25 +08:00
fisker Cheung 12bddae20c Switch default branch to main (#10115) 2021-01-23 19:14:13 +02:00