43081j / 43081j/eslint-plugin-lit
Fix `no-template-arrow` false positives
Aperta
- Lingua principale
- TypeScript
- Stelle
- 138
- Fork
- 26
- Merge medio
- 23h 29m
- PR unite (30g)
- 4
Descrizione
These are currently marked as invalid:
- `@click=${() => this.#onRetry(file)}`
- `@click=${async () => await this.#onDelete(file)}`
I believe they are false positives since the arguments to the method do not match the arguments of the arrow function.
The rule should only be applicable when the arguments to the arrow function *match* the arguments of the called function.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.