I'm trying to sort my imports by package name but it seems like it's not supported based on what is available from the docs.
Is there a way for this to work?
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
The code above fails because it wants BrowserModule to be on the first line. But I want this to be considered correct since I want to order by package name.
Here's my ESLint config.
"sort-imports": [
"error",
{
"ignoreCase": true,
"ignoreDeclarationSort": false,
"ignoreMemberSort": false,
"memberSyntaxSortOrder": [
"none",
"all",
"multiple",
"single"
],
"allowSeparatedGroups": true
}
],