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
As a vsCode + Prettier user, I find there are certain "opinionated" rules that Prettier enforces that differ from our code standards.
We prefer * instead of - for our markdown bullets
We prefer " instead of ' for our quoting
Could be others that I haven't come across yet.
Given the popularity of prettier in the JS community, perhaps we can add a .prettierignore file to our repo to ensure we don't let prettier overwrite our standards. I spent about 1.5 hours trying to get Prettier to not overwrite the bullets to - and the only solution I found was to disable it in VsCode as a lot of our markdown is in MDX files.
As a vsCode + Prettier user, I find there are certain "opinionated" rules that Prettier enforces that differ from our code standards.
*
instead of-
for our markdown bullets"
instead of'
for our quotingGiven the popularity of prettier in the JS community, perhaps we can add a .prettierignore file to our repo to ensure we don't let prettier overwrite our standards. I spent about 1.5 hours trying to get Prettier to not overwrite the bullets to
-
and the only solution I found was to disable it in VsCode as a lot of our markdown is in MDX files.It's possible we could just add settings to our settings.json file for vscode.
References
VsCode settings
The text was updated successfully, but these errors were encountered: