You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
{
"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:
Enable "experimentalTernaries": true as an option
Format a document (in my case *.jsx) that contains a suitable ternary
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: