Closed tjx666 closed 3 years ago
@daidodo
Hi @tjx666, thanks for the feedback!
The imports are classified as script and named imports: Types of Imports And they are dealt with differently: flags Example: How to customise script imports
In your case, probably you want another line in your config:
"tsImportSorter.configuration.groupRules": [
["^[@]", {}],
["^api", "^components", "^features", "^style", "^util"],
"^[.]",
{"flags": "script", "regex": "[.]less$"} // Move *.less imports to the end
],
Please tell me if you have further questions!
Thanks for so awesome project!
For Example, I want the
import './SaveNFTModal.less';
to be last line.My configuration: