Produces class decorator usage with incorrect syntax
runspired opened this issue · 1 comments
runspired commented
bad:
@classic
export default class TestComponent extends Component {
@fullNameMacro()
fullName;
}
good:
@classic
class TestComponent extends Component {
@fullNameMacro()
fullName;
}
export default TestComponent;
see ember-cli/eslint-plugin-ember#1699 for additional context
gitKrystan commented
Update:
@classic export default TestComponent extends Component {}
is legal now.