You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, it's causing lint errors in our angular projects because my company has a policy in our tslint.json that lines must be less than 140 characters. When VSCode organizes the imports it ignores this restriction and places all imported classes for a given namespace in a single line.
Issue Type: Bug
I've used the new feature to clean up my imports introduced in VSCode 1.23.1 and it's been very helpful for cleaning up dead references.
"[typescript]": {
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
However, it's causing lint errors in our angular projects because my company has a policy in our tslint.json that lines must be less than 140 characters. When VSCode organizes the imports it ignores this restriction and places all imported classes for a given namespace in a single line.
import { Component, OnInit, TemplateRef, ViewChild, Blah, Blah, Blah, Blah, Blah, Blah, Blah, Blah, Blah, Blah, Blah, Blah, Blah } from '@angular/core';
VS Code version: Code 1.23.1 (d0182c3, 2018-05-10T17:11:17.614Z)
OS version: Windows_NT x64 6.1.7601
Extensions (13)
(1 theme extensions excluded)
The text was updated successfully, but these errors were encountered: