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

ember/template-no-let-reference

Open
#2,078 13 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
263
Forks
214
Avg merge
30m
Merged PRs (30d)
5

Description

Is it ok to disable this rule in tests? This is a contrived test case

```js
let someThing;

hooks.beforeEach(function (assert) {
someThing = null;
});

test('foo', async function (assert) {
someThing = 'foo'

await render(

);
});

test('bar', async function (assert) {
someThing = 'bar'

await render(

);
});
```

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.