Open runspired opened 1 year ago
bad:
@classic export default class TestComponent extends Component { @fullNameMacro() fullName; }
good:
@classic class TestComponent extends Component { @fullNameMacro() fullName; } export default TestComponent;
see https://github.com/ember-cli/eslint-plugin-ember/issues/1699 for additional context
Update:
@classic export default TestComponent extends Component {} is legal now.
@classic export default TestComponent extends Component {}
https://twitter.com/leobalter/status/1621242353494425602
https://github.com/tc39/notes/blob/c7fa95d3f2d0af68eaba9d388d5f79f2e166a4cc/meetings/2023-01/feb-02.md#conclusionresolution-4
bad:
good:
see https://github.com/ember-cli/eslint-plugin-ember/issues/1699 for additional context