We're using default Prettier options and default @stencil/decorators-style options.
Prettier formats code like this:
class AxsTreeViewItem {
@Event({ bubbles: true, composed: true })
axsTreeItemSelected: EventEmitter<any>;
}
but @stencil/decorators-style says The @Event decorator can only be applied as inline.
I expect @stencil/decorators-style to work with Prettier and to not cause warnings.
We're using default Prettier options and default
@stencil/decorators-styleoptions.Prettier formats code like this:
but
@stencil/decorators-stylesaysThe @Event decorator can only be applied as inline.I expect
@stencil/decorators-styleto work with Prettier and to not cause warnings.