Mohammed
Mohammed2w ago

How to specify unstable fmt options?

I'm a bit confused where to specify these options? I wasn't able to trigger any autocomplete suggestions. Should it go into fmt.unstable.component or into unstable directly? Or somewhere else?
4 Replies
bartlomieju
bartlomieju2w ago
Into the unstable property: { "unstable": ["fmt-component"] }
Mohammed
Mohammed2w ago
Thanks! I think that worked The cli tells me fmt-css is not a valid unstable feature in the v2 RC. Is that expected or am I doing something wrong?
bartlomieju
bartlomieju2w ago
It's expected. Only component is unstable in Deno 2 Css is just supported out of the box
Mohammed
Mohammed2w ago
Just FYI, the deno settings for indentation size and tabs/spaces don't really seem to take precedence in vscode. Was still necessary for me to adjust the editor settings (I'm sure it's fine when running deno fmt )