ember-codemods/ember-native-class-codemod

Produces class decorator usage with incorrect syntax

runspired opened this issue · 1 comments

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