Skip to content

feat: double slash comments #51

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

Merged

Conversation

alexander-akait
Copy link
Contributor

Which issue # if any, does this resolve?

#49

Please check one:

  • New tests created for this change
  • Tests updated for this change

@shellscape
Copy link
Owner

PR looks good at first glance 🍺 Super busy day today so please allow me some time to circle back to it.

@alexander-akait
Copy link
Contributor Author

/cc @shellscape friendly ping

@shellscape
Copy link
Owner

@evilebottnawi thanks, looking

@@ -100,7 +217,7 @@ describe('Parser → Comment', () => {

fixtures.forEach((fixture) => {
it(fixture.it, () => {
let ast = new Parser(fixture.test).parse(),
let ast = new Parser(fixture.test, { loose: fixture.loose }).parse(),
Copy link
Owner

Choose a reason for hiding this comment

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

so this is the only thing that stands out as questionable. the existing tests should continue to run without loose, the new tests should use loose, but they should be separate. we don't want non-loose tests running under loose.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@shellscape i don't change any existing comments just add flag to run own comments in loose mode as you can do in other tests with loose

Copy link
Owner

Choose a reason for hiding this comment

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

yeah disregard that, i'm juggling too much at the moment.

@shellscape shellscape merged commit 9404262 into shellscape:master Mar 20, 2018
@alexander-akait
Copy link
Contributor Author

@shellscape 👍 just wait release to fix problem in prettier 😄

@alexander-akait alexander-akait deleted the feat-double-slash-comments branch March 20, 2018 17:02
@shellscape
Copy link
Owner

I should be able to release in a few hours. postcss-less will have a patch as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants