ember-cli / ember-cli/eslint-plugin-ember

avoid-leaking-state-in-ember-objects should warn about myProp: A()

Open
#300 3 comments 1 reaction 0 assignees View on GitHub
bug good first issue
Dominant language
JavaScript
Stars
263
Forks
214
Avg merge
30m
Merged PRs (30d)
5

Description

We recently found that the rule does not warn you if you do:

`myProp: A()`

And yet the state is leaked. I bet the same happens with `EmberObject()`.

Shouldn't this rule also apply in these cases?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.