Ika
952bc0cc03
fix: get rid of CRLF ( #5494 )
2018-12-08 18:28:29 +08:00
Ika
cc6899e5c5
fix(css-in-js): do not duplicate comments ( #5416 )
2018-11-10 16:43:59 +08:00
Ika
32ea48d499
fix(scss): do not throw if node.source undefined ( #5394 )
2018-11-09 09:48:16 +08:00
Ika
514b6d3741
Bump Prettier dependency to 1.15.0
2018-11-07 09:12:25 +08:00
Ika
6a54e21c12
fix(css-in-js): do not remove semicolon ( #5353 )
2018-11-07 00:19:42 +08:00
Ika
0878a6a3e7
fix(less): remove CRs from inline comments ( #5334 )
...
The issue here is that less parser somehow included CRs in `comment.raws.content`, but it was hidden by the wrong trailing space elimination previously, which was fixed by #5165 .
We already have such tests but it's not reproducible in AppVeyor since they use LF ([`core.autocrlf=input`](https://stackoverflow.com/a/20653073 )).
2018-11-04 11:36:14 +08:00
Onur Temizkan
f6d8be881c
fix(css-in-js) Keep newlines in CSS-in-JS Templates ( Fixes : #5147 ) ( #5240 )
...
* fix(css-in-js) Keep newlines in CSS-in-JS Templates (Fixes : #5147 )
* Add more tests
* Do not add semicolon when CSS prop is a template variable
* Fix deletion of original semicolon
* Prettify long line
2018-11-01 21:58:16 +02:00
Ika
99c4e41fa1
feat: format yaml front matter ( #4773 )
...
* refactor: front-matter
* feat: format yaml front matter
2018-07-03 09:54:40 +08:00
Evilebot Tnawi
aa4ea034b3
refactor: some stuff ( #4703 )
2018-06-25 12:57:41 +03:00
Evilebot Tnawi
03a2002348
fix: newline between front-matter and comment ( #4701 )
2018-06-15 16:27:41 +03:00
Ika
f6890bd071
feat(css): support pragma ( #4688 )
2018-06-14 09:51:18 +08:00
Jimmy Jia
dc5de053c4
fix: comment around color adjusters ( #4595 )
2018-05-29 21:03:09 +03:00
Evilebot Tnawi
3d60871458
fix: output color adjusters ( #4494 )
2018-05-29 15:24:38 +03:00
Lucas Azzola
b0cb63a7bb
Use destructuring for imports ( #4554 )
...
* Use destructuring for imports
* Clean up integration tests
* Use moduleNameMapper for require_prettier
2018-05-27 21:36:12 +10:00
Evilebot Tnawi
db0278a186
refactor: math operator ( #4529 )
2018-05-24 20:19:22 +03:00
Evilebot Tnawi
9db668702c
refactor: `less` extend ( #4526 )
2018-05-23 19:28:18 +03:00
Evilebot Tnawi
7a8dc82065
refactor: printer ( #4501 )
2018-05-22 21:10:24 +03:00
Evilebot Tnawi
0b8a8d84f6
fix: scss interpolation in string ( #4490 )
2018-05-22 16:05:47 +03:00
Jed Fox
9155fe5018
Rename all uses of frontmatter to frontMatter or front-matter ( #4519 )
2018-05-21 10:02:09 -04:00
Evilebot Tnawi
a8b0e55205
fix: better output scss maps ( #4487 )
2018-05-17 13:39:22 +03:00
Lucas Duailibe
983202413c
Refactor frontmatter handling ( #4482 )
2018-05-14 22:17:15 -03:00
Evilebot Tnawi
636ae9d037
refactor: `css` language ( #4483 )
2018-05-15 01:08:04 +03:00
Evilebot Tnawi
9d41f1355a
refactor: parser-postcss ( #4478 )
2018-05-15 00:00:45 +03:00
Aakansha Doshi
f99aee8e46
refactor: use `postcss-values-parser` for `@import` at rule ( #4435 )
...
* update to postcss value parser for @import and at rule
* fix specs
* Add rule for @import url and fix specs
* fix more specs
* fix more specs
* import check
* fix specs and add more specs
* remove console.log
* review fixes
* update snapshots
* remove bad code
* fix spec
* remove code
* Add comment
* fix comment
* lint fix
2018-05-14 22:54:34 +03:00
Evilebot Tnawi
6cd6ea383e
fix: characters escaping ( #4472 )
2018-05-14 13:47:46 +03:00
Evilebot Tnawi
bc2f57dcf9
fix: css variables and scss interpolation ( #4471 )
2018-05-12 22:38:28 +03:00
Aakansha Doshi
299cc97ceb
Fix spacing issue in postcss simple vars ( #4408 )
2018-05-06 13:51:28 +02:00
Evilebot Tnawi
2fe5263ff9
refactor: `printer-postcss` ( #4378 )
2018-04-26 13:53:52 +03:00
Evilebot Tnawi
2a3c616787
refactor: remove unused `css-import` node ( #4375 )
2018-04-25 21:29:59 +03: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
Suchipi Izumi
bdc5e0073d
Bump own prettier dependency to 1.12.0
2018-04-11 22:39:13 -06:00
Alexander Ryzhikov
6d7bc4402f
fix: don't lowercase custom selectors variable name #4254 ( #4255 )
...
* fix: don't lowercase custom selectors variable name #4254
* proper fix for camelCased custom selector
* Move customs-selectors case snapshots to correct place
2018-04-04 15:19:51 +03:00
Evilebot Tnawi
f2f2390114
fix: inline comments in lists and maps ( #4205 )
2018-03-31 17:18:23 +03:00
Evilebot Tnawi
5537140296
fix: don't lowercase variable in css modules ( #4152 )
2018-03-15 18:16:28 +03:00
Evilebot Tnawi
94ec29dac7
fix: handle `unicode-range` ( #4117 )
2018-03-07 21:15:06 +03:00
Evilebot Tnawi
4ddf1a6e84
fix: don't lowercase nesting selector ( #4048 )
2018-02-26 18:13:02 -07: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
335fe638f5
refactor(css): printer ( #4024 )
2018-02-22 12:00:08 +03:00
Evilebot Tnawi
86f0b93e29
feat(css): improve math output ( #3984 )
2018-02-16 21:58:21 +03:00
Evilebot Tnawi
0f067d3832
feat(css): improve `@nest` at rule output ( #3976 )
2018-02-15 20:45:33 +03:00
Evilebot Tnawi
17c0f9bfe1
feat(css): lowercase html tags ( #3954 )
2018-02-13 18:41:55 +03:00
Evilebot Tnawi
ec4f4eb6d3
fix(css): don't eat selector namespace ( #3956 )
2018-02-12 18:39:03 +03:00
Evilebot Tnawi
1bb5cbaa4c
fix(css): space after math operations before parens ( #3945 )
2018-02-10 20:57:06 +03:00
Evilebot Tnawi
087b68d183
fix(css): scss interpolation ( #3943 )
2018-02-10 02:05:48 +03:00
Evilebot Tnawi
d716c84156
fix(css): space and newlines before parenthesis ( #3930 )
2018-02-09 15:28:55 +03:00
Christian Zosel
fac08034e7
Split out location extraction into plugin config ( #3777 )
...
* Split out location extraction into plugin config
* Reduce set of exported function, rebase to current master
* Pass custom locStart/locEnd fn's directly to affected methods
* (wip) always use locStart/locEnd from plugin
* Convert graphql implementation
* Convert HTML implementation
* (wip) convert JS implementation
* Remove unused variables
* Continue conversion of JS implementation
* Replace "util.locStart" with direct call to "options.locStart"
* Remove util closure
* Add unit test for structure of shared util
* Fix linting error, simplify locStart/End implementations
2018-02-09 23:17:48 +11:00
Ika
47714f5d4b
feat(plugins): change external options to be plugin-level ( #3924 )
2018-02-09 00:06:38 +08:00