effector / effector/eslint-plugin

Rule: `max-lines-per-unit`

Open
#129 1 comment 0 reactions 0 assignees View on GitHub
RFC
Dominant language
TypeScript
Stars
94
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Enforce a maximum number of lines of code in a unit

Some people consider large functions a code smell. Large `fn` or `filter` in `sample` can make it hard to follow what’s going on. This rule should help enforce that style.
It should have separate configurations for all major units (sample, guard, effect) with appropriate default values per each

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.