hugomrdias / prettier-stylelint

code > prettier > stylelint > formatted code
MIT License
175 stars 29 forks source link

is this project still maintained? #34

Open orionrush opened 5 years ago

orionrush commented 5 years ago

Hi - just checking on the health of the project.

orionrush commented 5 years ago

a respectful 'bump'?

mindseyeblind commented 5 years ago

@orionrush seems dead, try https://github.com/prettier/stylelint-prettier

orionrush commented 5 years ago

yes, but this isn't ideal, as stylelint-prettier inverts the workflow. I want to prettify and then apply linting rules. I've reverted to just doing this in sequence manually.

SharakPL commented 5 years ago

@orionrush did you find any solution for that? another package maybe?

E: This one seems to be working just fine :)

orionrush commented 5 years ago

Take a look at stylelint-prettier, it’s not as ideal of a workflow, but it’s actively maintained.

orionrush commented 5 years ago

@SharakPL Yes, your SO link is about stylelint-prettier, and those rules will help.

However, I liked the workflow of this package (prettier-stylelint) because passing the document through prettier first and then enforcing stylelint rules makes more sense. Prettier has less customization - it doesn't care™️, and so, if we pass the document through stylelint firsts and then Prettier, Prettier can undo some of the rules that you want to enforce in stylelint.

ntwb commented 5 years ago

It looks like https://github.com/prettier/stylelint-prettier now uses

https://github.com/prettier/stylelint-config-prettier

This was previously at the following URL but now part of the Prettier project:

https://github.com/shannonmoeller/stylelint-config-prettier

It would be great to see this package deprecated and link to the above shared config

SharakPL commented 4 years ago

It would be great to see this package deprecated and link to the above shared config

Actually it wouldn't since prettier team recommends installing prettier-stylelint. Although I can't make it work anyway 😞

zmeyc commented 4 years ago

There's a similar plugin effective-prettier-vscode which runs prettier, eslint and stylelint in order. I had to switch to it because prettier-stylelint stopped working.

https://marketplace.visualstudio.com/items?itemName=sebastian-software.effective-prettier-vscode https://github.com/sebastian-software/effective-prettier https://github.com/sebastian-software/effective-prettier-vscode

yarn add --dev @effective/prettier, install VSCode plugin, in .code-workspace: "editor.defaultFormatter": "sebastian-software.effective-prettier-vscode"