Skip to content

Conversation

DerekNonGeneric
Copy link
Contributor

stylelint-config-prettier-scss disables all rules that conflict
with Prettier. Leave this preset at the bottom so that it can't be
overridden.

Make sure to put it last, so it will override other configs.

Refs: https://github.com/prettier/stylelint-config-prettier-scss#installation

Signed-off-by: Derek Lewis [email protected]

/cc @smorimoto

`stylelint-config-prettier-scss` disables all rules that conflict
with Prettier. Leave this preset at the bottom so that it can't be
overridden.

> Make sure to put it **last**, so it will override other configs.

Refs: https://github.com/prettier/stylelint-config-prettier-scss#installation

Signed-off-by: Derek Lewis <[email protected]>
@DerekNonGeneric DerekNonGeneric marked this pull request as ready for review August 18, 2022 18:09
@DerekNonGeneric
Copy link
Contributor Author

I am unsure if this change introduces anything actionable regarding re-styling, but CI is green, so it seems good to go assuming it is currently set up to lint on PR.

/cc @smorimoto

@smorimoto smorimoto self-requested a review August 19, 2022 01:55
@smorimoto smorimoto merged commit 0c416fe into tc39:main Aug 19, 2022
@smorimoto
Copy link
Member

Good catch!

@smorimoto
Copy link
Member

It would also be nice to add a format check step to CI...

@DerekNonGeneric DerekNonGeneric deleted the fix/misordered-presets branch August 19, 2022 20:39
@DerekNonGeneric
Copy link
Contributor Author

It would also be nice to add a format check step to CI...

Yeah, how do you want to handle that? There are a few ways that come to mind…

Want to use a GitHub action to determine which formatter to run depending on the file extension or something?

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.

2 participants