Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prioritise Prettier rules #152

Merged
merged 5 commits into from
Sep 29, 2024
Merged

Prioritise Prettier rules #152

merged 5 commits into from
Sep 29, 2024

Conversation

samchungy
Copy link
Contributor

@samchungy samchungy commented Sep 28, 2024

image

prettier/eslint-config-prettier#34

Saw this popping up while migrating a couple repos. Prettier ends up fighting us here

Copy link

changeset-bot bot commented Sep 28, 2024

🦋 Changeset detected

Latest commit: a40e30f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
eslint-config-seek Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@samchungy samchungy marked this pull request as ready for review September 29, 2024 01:31
@samchungy samchungy requested review from a team as code owners September 29, 2024 01:31
@AaronMoat
Copy link
Contributor

Does it work without this if we put eslintConfigPrettier lower down in the array?

@samchungy
Copy link
Contributor Author

Does it work without this if we put eslintConfigPrettier lower down in the array?

Possibly, I'll test

@samchungy
Copy link
Contributor Author

samchungy commented Sep 29, 2024

Does it work without this if we put eslintConfigPrettier lower down in the array?

Below where baseRules is used seems to work

@askoufis
Copy link
Contributor

Strange that we're only seeing this behaviour now. We've used eslint-config-prettier for years and had no issues. 🤔

@samchungy samchungy changed the title Disable multiline rule Prioritise Prettier rules Sep 29, 2024
Copy link
Contributor

@AaronMoat AaronMoat left a comment

Choose a reason for hiding this comment

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

I don’t fully understand how we broke this but previously the rule was together with the plugin so it might have taken precedence? Looks good though

@samchungy samchungy merged commit 8851ebe into master Sep 29, 2024
2 checks passed
@samchungy samchungy deleted the disable-rule branch September 29, 2024 02:29
@seek-oss-ci seek-oss-ci mentioned this pull request Sep 29, 2024
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.

3 participants