Glavin001 / Glavin001/tslint-clean-code
no-map-without-usage mistakenly trigged on arrow function returns
Open
- Dominant language
- TypeScript
- Stars
- 175
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
The following line should be valid:
```typescript
const myFunc = () => (
[].map((x) => x)
);
```
However, `no-map-without-usage` cannot detect that a value is being returned.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.