Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

fix: @apply issue. Don't do validation on postcss #20

Merged
merged 1 commit into from
Oct 7, 2019

Conversation

muhajirdev
Copy link
Contributor

Related to this issue jamesbirtles/svelte-vscode#47

Made a PR so that we can use @apply on <style type="type/postcss"> While still preservering css validation on regular css

@muhajirdev muhajirdev changed the title Don't do validation on postcss fix: @apply issue. Don't do validation on postcss Jun 22, 2019
.doValidation(document, stylesheet)
.map(diagnostic => ({ ...diagnostic, source: 'css' }));
.map(diagnostic => ({ ...diagnostic, source: getLanguage(kind) }));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

  • Addtionally I map the diagnostic source to the language name

@jamesbirtles
Copy link
Owner

thanks

@jamesbirtles jamesbirtles merged commit bcbed98 into jamesbirtles:master Oct 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants