Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS: implement prettier-ignore #2089

Merged
merged 2 commits into from
Jun 10, 2017
Merged

Conversation

azz
Copy link
Member

@azz azz commented Jun 10, 2017

Fixes #2007

@azz azz added the lang:css/scss/less Issues affecting CSS, Less or SCSS label Jun 10, 2017
@azz azz force-pushed the bug/css-prettier-ignore branch from 7840109 to 2555cfc Compare June 10, 2017 14:32
@@ -337,7 +337,23 @@ function printNodeSequence(path, options, print) {
const parts = [];
let i = 0;
path.map(pathChild => {
parts.push(pathChild.call(print));
const prevNode = node.nodes[i - 1];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In js we also allow

// prettier-ignore
// some-other-comment

fyi

@vjeux vjeux merged commit f7819d5 into prettier:master Jun 10, 2017
@lock lock bot added the locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. label Jan 20, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lang:css/scss/less Issues affecting CSS, Less or SCSS locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants