Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

Reset rules rather than set them to a default #125

Merged
merged 4 commits into from Oct 11, 2021
Merged

Reset rules rather than set them to a default #125

merged 4 commits into from Oct 11, 2021

Conversation

rynpsc
Copy link
Contributor

@rynpsc rynpsc commented Sep 20, 2021

Currently some rules are set to match Prettier's behaviour but we should probably just reset them to avoid any conflicts like we do with other rules.

I'm also going to look at submitting another PR that goes through the current rules and making sure they don't conflict or have special cases to close #96. Would you rather this is done as one bigger PR or mutliple small ones, one for each rule change?

@shannonmoeller
Copy link
Member

Thank you very much for the pull request! I'm going to mention this issue on a few other threads and leave it open for a week to see if others have changes they'd like to see. Then will release as a new major version.

@rynpsc
Copy link
Contributor Author

rynpsc commented Sep 20, 2021

Great, I'm going to try and review the rules themselves soon to make sure they themselves are required. This is just step one to do some normalisation beforehand as I wasn't sure if you'd prefer one big PR with lots of rule changes or one PR per rule chnage.

@shannonmoeller
Copy link
Member

Like I mentioned in #124, I think what we really need is a better way to validate changes. Then we can group together rule changes with tests and examples to back them up.

Copy link

@EvgenyOrekhov EvgenyOrekhov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@shannonmoeller shannonmoeller merged commit 400939c into prettier:master Oct 11, 2021
@shannonmoeller
Copy link
Member

Released as v9.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

This is turning off too much I think
3 participants