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

Remove options.editorconfig from configuration.md #15984

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

cavcrosby
Copy link

@cavcrosby cavcrosby commented Jan 25, 2024

Description

Fixes #15255.

Checklist

  • I’ve added tests to confirm my change works.
  • (If changing the API or CLI) I’ve documented the changes I’ve made (in the docs/ directory).
  • (If the change is user-facing) I’ve added my changes to changelog_unreleased/*/XXXX.md file following changelog_unreleased/TEMPLATE.md.
  • I’ve read the contributing guidelines.

Try the playground for this PR

@@ -200,7 +200,7 @@ If you’d like a JSON schema to validate your configuration, one is available h

## EditorConfig

If `options.editorconfig` is `true` and an [`.editorconfig` file](https://editorconfig.org/) is in your project, Prettier will parse it and convert its properties to the corresponding Prettier configuration. This configuration will be overridden by `.prettierrc`, etc.
If an [`.editorconfig` file](https://editorconfig.org/) is in your project, Prettier will parse it and convert its properties to the corresponding Prettier configuration. This configuration will be overridden by `.prettierrc`, etc.
Copy link
Member

Choose a reason for hiding this comment

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

I would also like you to mention that you can prevent this behavior by using https://prettier.io/docs/en/cli#--no-editorconfig.

@cavcrosby
Copy link
Author

Is there anything further adjustments you wish me to make @sosukesuzuki?

@cavcrosby
Copy link
Author

Just rebased my changes, giving things another nudge to see this through.

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.

Correct documentation on the editorconfig option.
3 participants