prettier-stylelint icon indicating copy to clipboard operation
prettier-stylelint copied to clipboard

is this project still maintained?

Open orionrush opened this issue 5 years ago • 9 comments

Hi - just checking on the health of the project.

orionrush avatar Apr 29 '19 18:04 orionrush

a respectful 'bump'?

orionrush avatar May 28 '19 11:05 orionrush

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

mindseyeblind avatar Jun 04 '19 11:06 mindseyeblind

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.

orionrush avatar Jun 04 '19 14:06 orionrush

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

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

SharakPL avatar Aug 09 '19 23:08 SharakPL

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

orionrush avatar Aug 11 '19 17:08 orionrush

@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.

orionrush avatar Aug 12 '19 11:08 orionrush

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

ntwb avatar Sep 02 '19 22:09 ntwb

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 😞

SharakPL avatar Dec 04 '19 12:12 SharakPL

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"

zmeyc avatar Jun 24 '20 15:06 zmeyc