Skip to content

Produces class decorator usage with incorrect syntax #495

Description

@runspired

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions