Commit Graph
17 Commits
Author SHA1 Message Date
fisker Cheung 9efeb8309e Update postcss-scss to v3 (#9210) 2020-09-27 08:49:16 +08:00
fisker Cheung b77da32a80 Update postcss to v8 (#9209)
* Update `postcss` v8

* Parser custom properties

* Improve logic

* Update lint script

* Fix node location

* Fix comments inside

* Add a test

* Test on `less` and `scss` too

* Fix empty prop print

* Clean

* Update `postcss`

* Exclude `regenerator`

* Test `no-semi`

* Add changelog

* Typo

* Apply review suggestion

* Style

* Simplify logic

* Remove error test, we don't throw on this anymore

* Style

* Update postcss

* Update postcss
2020-09-25 00:51:55 +08:00
fisker Cheung 01f986bea9 Make isSCSS* function stricter (#9093) 2020-09-01 16:58:35 +08:00
fisker CheungandGeorgii Dolzhykov c0abefb662 SCSS: Fix Comments at the end of the file were lost if the final semicolon was omitted (#8675)
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-07-14 23:36:40 +08:00
Boyen Vaesen 4009ecf70d Fix: Prettier breaks code when inline number lists are used as arbitrary arguments [SCSS] (#8566) 2020-06-18 12:12:31 +03:00
Boyen VaesenandBoyen Vaesen aefc9a48e5 Fix: [Sass] Unexpectedly add extra space after function when passing arbitrary arguments (#8567)
Co-authored-by: Boyen Vaesen <boyen.vaesen@kbc.be>
2020-06-17 09:26:28 +08:00
fisker Cheung 3e44061f84 SCSS: Fix broken comments between declaration prop and value (#8366) 2020-06-09 18:41:16 +03:00
boyennandBoyen Vaesen f051170f98 fix: Update scss comment indentation (#7844)
Co-authored-by: Boyen Vaesen <boyen.vaesen@kbc.be>
2020-06-09 14:55:24 +08:00
Michael Mattiacci ffceb60e92 CSS: Fix url() unquoted content manipulation (#2835) (#7592) 2020-05-29 16:09:15 +03:00
fisker Cheung 243a06f073 Test: correct file extensions (#8362) 2020-05-21 21:10:00 +08:00
fisker Cheung b438ad47d1 Less: Fix inline comments contains /* (#8360) 2020-05-20 22:26:30 +08:00
fisker Cheung 765e3b4025 Fix invalid test (#8350) 2020-05-19 21:18:36 +08:00
fisker Cheung bfe5787726 Remove less/scss syntax in css tests (#8267) 2020-05-11 09:04:03 +08:00
fisker Cheung 85a2db5a0c Fix css tests (#8264)
* fix `stylefmt-repo` parser

* Fix tests

* Fix snapshots

* fix parsers
2020-05-09 07:50:34 +08:00
Evilebot Tnawiandfisker 3f4da31c62 fix: comment at end of at-rule with selector (#7009)
* fix: comment at end of at-rule with selector

* Improve a little bit

* Fix test

* sass directives

Co-authored-by: fisker <lionkay@gmail.com>
2020-05-08 21:39:41 +08:00
fisker Cheung ed3eeb82f8 Test: add parser check (#8256) 2020-05-08 10:56:09 +08:00
fisker Cheung 7ad515111e Categorize tests part 4(CSS, flow, misc) (#8251) 2020-05-08 01:29:34 +08:00