import-js/eslint-plugin-import

add exceptions for exports-last

Open

#1,882 opened on Aug 17, 2020

 (1 comment) (1 reaction) (0 assignees)JavaScript (1,549 forks)batch import
enhancementflowhelp wantedtypescript

Repository metrics

Stars
 (5,940 stars)
PR merge metrics
 (Avg merge 138d 22h) (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