ember-cli / ember-cli/eslint-plugin-ember
Forbid accessing this.args in class-body space
Open
- Dominant language
- JavaScript
- Stars
- 263
- Forks
- 214
- Avg merge
- 30m
- Merged PRs (30d)
- 5
Description
bad:
```js
class extends Component {
// non-reactive!
foo = this.args.foo;
}
```
good:
```js
class extends Component {
// lazy, reactive
get foo() {
return this.args.foo;
}
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.