Commit Graph
27 Commits
Author SHA1 Message Date
Elias Meire 5b7ebb18ba Fix: Always preserve frontmatter, remove dependency (#4392)
* Fix: Always preserve frontmatter, remove dependency

* Move correct test to correct filename

* Add test for malformed frontmatter, finetune regex

* Use other malformed test case

* Update yarn.lock
2018-04-28 08:53:30 -03:00
Lipis 37eea26acf Make Travis green again (#4380) 2018-04-26 10:17:19 +08:00
Evilebot Tnawi e5741552ed feat: use postcss-values-parser for @namespace at rule (#4373) 2018-04-25 21:27:12 +03:00
Evilebot Tnawi 58a91cc570 feat: improve @support at-rule output (#4372) 2018-04-25 20:41:41 +03:00
Aakansha Doshi 7f20ffc7f5 Allow trailing comma in scss list and maps (#4317)
* Allow trailing comma in scss list and maps

* fix #4076

* triple equalto

* newline

* linting

* review fixes

* print trailing comma only when options.tralingComma is not none

* Add nested maps and lists

* add isSCSS() check

* linting

* Add utils for isSCSS() in language-css

* lint
2018-04-18 17:40:01 -03:00
Evilebot Tnawi 7c0dee617b refactor: parseNestedCSS function (#4208) 2018-04-13 22:12:59 +03:00
Evilebot Tnawi c9bb96cd52 fix: don't break value property with inlined URL (#4236) 2018-04-02 14:16:39 +03:00
Evilebot Tnawi 5537140296 fix: don't lowercase variable in css modules (#4152) 2018-03-15 18:16:28 +03:00
Evilebot Tnawi 65b988a989 feat: ignore non standard IE filter values (#4028) 2018-02-26 14:58:38 +03:00
Evilebot Tnawi 7b457fd3b8 refactor: at rules parse (#4023) 2018-02-22 12:49:03 +03:00
Evilebot Tnawi e1491d0f95 fix(css): comments in at rules (#3920) 2018-02-21 21:36:09 +03:00
Evilebot Tnawi cce8924ef3 fix(css): @nest at rule (#3975) 2018-02-15 15:19:28 +03:00
Evilebot Tnawi c36cb7670a tests(css): postcss popular plugins (#3959) 2018-02-12 20:12:09 +03:00
Evilebot Tnawi d716c84156 fix(css): space and newlines before parenthesis (#3930) 2018-02-09 15:28:55 +03:00
Evilebot Tnawi bc027bd661 fix(css): space after if in else at rule (#3921) 2018-02-07 19:53:28 +03:00
Evilebot Tnawi 9e6bd15ade fix(css): comments in selectors (#3909) 2018-02-07 13:20:13 +03:00
Evilebot Tnawi 1b13dc8974 fix(css): declaration comments (#3897) 2018-02-06 18:09:42 +03:00
Evilebot Tnawi ed2a9be58e fix(css): stringify unquoted data urls (#3877) 2018-02-02 20:39:53 +03:00
Evilebot Tnawi f5e74cd70a fix(css): at rules improve formatting and tests (#3828) 2018-02-02 18:06:47 +03:00
Evilebot Tnawi ed5f68844f fix(css): scss global flag (#3844) 2018-01-30 17:53:37 +03:00
Evilebot Tnawi 22ba2bcb64 fix(css): don't remove semicolon in less ruleset declaration (#3841) 2018-01-30 14:16:07 +03:00
Evilebot Tnawi a3bf378259 fix: handle YAML front matter block (#3802) 2018-01-24 19:44:09 +03:00
Evilebot Tnawi 7797c93489 fix(css): ignore media params with scss interpolation (#3801) 2018-01-24 12:31:30 +03:00
Evilebot Tnawi 105914e45c fix: don't handle args of @warn and @error directives as media query list (#3769) 2018-01-19 17:00:06 -07:00
Evilebot Tnawi 934f679705 fix(scss): !default directive (#3724) 2018-01-12 22:12:02 +11:00
Christopher Chedeau a4dd86436a [scss] Print comments inside of selector as is (#3649)
Fixes #3647
2018-01-04 19:03:04 -08:00
Lucas Azzola 4c9d4061da Prettier Plugin API (#3536)
* Move files around in preparation for refactor

* Update paths in build script

* Extract generic printing logic from the JavaScript printer

* Conform printer API

* Fixup decorator handling

* Fix multiparser

* Create plugin entry for markdown

* Create plugin entry for javascript/typescript

* Create plugin entry for html

* Create plugin entry for graphql

* Create plugin entry for css/less/scss

* Move JSON to JS plugin entry

* Integrate plugins into getSupportInfo()

* Move astFormat to parser definition

* Move util to common

* Implement parser loading

* remark -> mdast

* Rename cli/cli -> cli/index

* Rename builder -> doc package, fix printer resolution

* Fix doc shape assumption in CSS-in-JS logic

* Fix third-party.js prod resolution

* Fixup build-docs script

* Distribute multiparser code

* Remove requirement to forward options

* Flatten closure

* Remove debug directory

* Expose doc

* Add external plugins

* Pass options to loadPlugins

* Export getParsers

* Pin resolve version

* Use getSupportInfo in Markdown embed

* Document plugin API

* Update build-docs

* Add CLI for plugins

* Lint docs

* Fixup build.js

* Add vue language

* Fixup multiparser for vue

* Upgrade rollup and rollup-plugin-commonjs

* Fixup third-party build

* Change AST format in docs
2017-12-26 12:23:50 +11:00