Closed ziulev closed 4 years ago
Trying to autofix ordering imports by groups
imports:
import { ChangeDetectionStrategy, Component, EventEmitter, OnInit, Output } from '@angular/core'; import { MatSnackBar } from '@angular/material/snack-bar'; import { random } from 'lodash'; import { BehaviorSubject, Observable, of } from 'rxjs'; import { catchError, map, share, switchMap, takeUntil, tap } from 'rxjs/operators'; import { AbstractComponent } from '../../abstract/abstract.component'; import { PebThemesSnackbarComponent } from '../../components/snackbar/snackbar.component'; import { PebApiService, PebEnvService, MessageBus } from '@pe/builder-core';
tslint config:
"ordered-imports": [ true, { "import-sources-order": "any", "named-imports-order": "case-insensitive", "grouped-imports": true, "module-source-path": "full", "groups": ["^@angular|rxjs|lodash|ngx", "^@pe", "^\\.", "^\\.\\."] } ],
Should be problem of your language server, checkout https://github.com/neoclide/coc.nvim/wiki/Debug-language-server#using-output-channel
Should be problem of tslint.
Trying to autofix ordering imports by groups
imports:
tslint config: