effector / effector/eslint-plugin

Rule: `no-tuple`

Open
#95 1 comment 8 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
TypeScript
Stars
94
Forks
18
PR merge metrics
No merged PRs in 30d

Description

```ts
sample({ source: { a: $a, b: $b } })

sample({ source: [$a, $b] })
```

Object form is stricter, than tuple form because:
+ it is sustainable against order changing
+ it is providing more useful types (no `[string, string]`

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.