1 comment (1 comment)1 reaction (1 reaction)0 assignees (0 assignees)JavaScript1,549 forks (1,549 forks)batch import
enhancementflowhelp wantedtypescript
Repository metrics
- Stars
- 5,940 stars (5,940 stars)
- PR merge metrics
- Avg merge 138d 22h (Avg merge 138d 22h)3 merged PRs in 30d (3 merged PRs in 30d)
Description
It is customary to keep parameter types next to the function declaration. This rule forces to move all types to the top of the file. It would be nice to add an exception to the exports-last rule for types.
Contributor guide
- Research direction
- Examine the `exports last` rule source code to understand how it currently processes exports. Identify where to add a check for type exports (e.g., `export type` statements) and modify the rule to allow them. Write tests to verify the exception works correctly.
- Tech stack
- javascripttypescriptnodejs
- Domain
- toolingdeveloper experience
- Issue type
- Feature
- Prerequisites
- JavaScriptESLintGit