Conversation
– Use new method names – Allow processing of *.scss files – Check syntax name (css or scss) - Use one `include` node for both `@include` and `@extend` – Update tests
There was a problem hiding this comment.
здесь не должно быть пустой строки
There was a problem hiding this comment.
@mishanga , почему?
Мы убираем пустые строки между свойствами, кт принадлежат одной группе?
Даже если они там есть?
|
В целом, насколько смог вчитаться, всё хорошо. |
|
Добавь, пожалуйста, примеры про SCSS в README. |
|
и отрбейзиться ;) |
|
|
|
@gurugray, why? It's just a merge commit. I remember a recent Yandex event. I find it interesting now, that one person gives contradictory advice ) |
|
@tonyganch nope, I remember your question — my answer was about long-living feature branches with collaborative work on it with many developers, this is bad case for rebasing, of course but in your case I don't see any problems to keep main history clean |
|
@gurugray, oh, I'm sorry if there was any misunderstanding. However, I don't see any difference between 'Merge branch" and "Merge pull request" commits. |
there is no difference, but in this pull-request you try to merge branch with merge-commit however, contributing policy postulated in https://github.com/csscomb/csscomb.js/blob/dev/CONTRIBUTE.md and there is step with rebasing ;) |
|
Contributing.md is a good point, so I'll remove the commit that annoys you so much. |
|
ok, I'll write a post about it :) |
|
@gurugray, no, that's not the way it works. I may look stubborn, but I will not remove that merge commit blindly, just because you said so. |

This is a WIP pull request for a nonexistent issue.
It's based on my rework of gonzales.
Please, do not push anything to this branch.
Caveats:
cssis default).nani.css.scss.foocan be a valid scss stylesheet./* nani */) and single-line (// nani). More tests should be added to check that SL comments are handled fine.process()inoptions/sort-order.js) was rewritten almost from scratch. The original idea of extended nodes is nice, so I've used it.$variable,$importand$include. I'm a bit tired of some people asking to move includes to the top of a ruleset, and others – to the bottom. So let them decide. Config can look like this:Note that
$includemeans both@includeand@extendin Sass terms.afterEachhook to make them more readable and reduce LOC.