Import Optimization: Exclude some files?

This is an Angular/Typescript project, and there's an issue with how the order of the imports is important in 1 specific file (test.ts, generated by the Cli) for Karma/Unit Testing to work properly... yeah I know.

So while I want Sorted import for the rest of the project, I would like to disable it for that 1 specific file

Is it possible to enable Import Optimization/Module Sorting, while excluding some files by name/pattern?

 

Thanks

 

0
2 comments

No, it's not possible; if you miss this feature, please feel free to submit a feature request to youtrack, https://youtrack.jetbrains.com/issues/WEB

0
Avatar
Permanently deleted user

Thanks,

 

I'll do just that

0

Please sign in to leave a comment.