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

Loader violates Stylelint "Expected empty line before rule (rule-empty-line-before)" #939

Merged
merged 2 commits into from Oct 11, 2017

Conversation

constgen
Copy link

@constgen constgen commented Aug 9, 2017

The loader's PostCSS processor prepends an internal trim plugin that strips empty lines in styles. This happens in a very early stage. It my violate Stylelint plugin rules that are attached later. To keep code original lets trim styles at the very last stage.

Please review. Hope didn't brake anything related to source maps.

@yyx990803 yyx990803 merged commit 60d7dcd into vuejs:master Oct 11, 2017
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.

None yet

2 participants