bencodezen / vue-enterprise-boilerplate

An ever-evolving, very opinionated architecture and dev environment for new Vue SPA projects using Vue CLI.
7.78k stars 1.32k forks source link

CSS property ordering on save? #64

Closed patrickcate closed 5 years ago

patrickcate commented 6 years ago

I had a question about the vscode on save formatting functionality. I noticed the project uses the stylelint-config-recess-order plugin. Should the property re-order formatting be happening on save in vscode? Right now I get the linter warnings, and other CSS/Sass formatting is automatically fixed on save, but not the property re-ordering.

It does work when I run the yarn lint command manually though, but I'd love it if this worked on save. I've used the stylelint-order plugin for a while now in non-vue projects, so I'm used to this functionality.

I appreciate any help you can give.

chrisvfritz commented 6 years ago

It looks like this is a known issue, with progress blocked by a couple in-progress Stylelint issues when fixing preprocessor code. Until those are resolved, the plugin author has to decided to prevent autofix.

chrisvfritz commented 5 years ago

Nothing we can do this in this project for now, so closing until/unless that changes.