-
-
Notifications
You must be signed in to change notification settings - Fork 456
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
experimentalTernaries not respected using prettier-vscode plugin #3400
Comments
Same for me. I think it should be a checkbox inside settings for this. |
same issue |
I have the same issue. |
Same issue |
+1 |
Added with #3503 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
I am using this plugin with a .prettierrc file in the root of my React project. The only option I have set in that file is "experimentalTernaries": true
Whilst any other option I have tested in that file works,
experimentalTernaries
does not.Github Repository to Reproduce Issue
None.
Steps To Reproduce:
"experimentalTernaries": true
as an optionExpected result
Actual result
Additional information
The prettier console in VS Code clearly shows the
.prettier
file that it has parsed:The same result is observed regardless of the boolean state.
VS Code Version:
Version: 1.89.1 (user setup)
Commit: dc96b837cf6bb4af9cd736aa3af08cf8279f7685
Date: 2024-05-07T05:13:33.891Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.22631
Prettier Extension Version:
10.4.0
OS and version:
Edition Windows 11 Pro
Version 23H2
Installed on 01/04/2023
OS build 22631.3527
Experience Windows Feature Experience Pack 1000.22700.1003.0
Prettier Log Output
The text was updated successfully, but these errors were encountered: