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

Should we provide a config that disables some rules from `@typescript-eslint/eslint-plugin`?

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

Description

For example, no-use-before-define is often wrong if you define multiple components in the same file.

```gjs
const Foo = ;
const Bar = hi;
```

would trigger the error.
But this is totally valid, because component rendering is not _eager_ like const-evaluation normally is.

cc @patricklx, in case you have ideas

example in vanilla:

![image](https://github.com/ember-cli/eslint-plugin-ember/assets/199018/9324c8cf-f566-40d1-a3ae-5c902c6cb10a)

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.