IanVS / prettier-plugin-sort-imports

An opinionated but flexible prettier plugin to sort import statements
Apache License 2.0
892 stars 21 forks source link

Fix: `node:test` not grouped with `<BUILTIN_MODULES>` #143

Closed IsaiahByDayah closed 5 months ago

IsaiahByDayah commented 5 months ago

Following discussion in #142 , this adds an explicit check for "node:test" to BUILTIN_MODULES_REGEX_STR in order to properly group it with other builtin modules.

Test covers:

Fixes https://github.com/IanVS/prettier-plugin-sort-imports/issues/142

IsaiahByDayah commented 5 months ago

Sorry, left an extra white-space by accident