Skip to content

Rule proposition: return-in-computed-property. #75

Closed
@armano2

Description

@armano2

Enforces that a return statement is present in computed property (computed-property-return)

This example would throw an error:

export default {
  computed: {
    a () { }
  }
}

What do you think @mysticatea @michalsnik?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions