'VSCode applying annoying red styling when using JS "?" operator

enter image description here

My VSCODE editor applies this red styling every time I use a JS '?' operator within JSX as seen on line 2. This makes it quite difficult to work and is really annoying, to be honest. Is there any way to disable this feature?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source