forked from MLoughry/sort-typescript-imports
-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
I have to packages needs to be import:
import React from 'react';
import { useSelector } from 'react-redux';
import otherCustomComponents from 'absolute paths';
is my settings.json, here is my settings:
"typescript.extension.sortImports.pathSortOrderOverride": [ "react", "react-redux"]
With this override react, react-redux are moved to top after I run F10, which is expected.
However, if I run F10 again the order of react, react-redux swag, if I run F10 again, the order swag back. Can we keep the orders consistent without swagging?
Thank you.
Metadata
Metadata
Assignees
Labels
No labels