{"action":"created","issue":{"url":"https://api.github.com/repos/palantir/tslint/issues/3450","repository_url":"https://api.github.com/repos/palantir/tslint","labels_url":"https://api.github.com/repos/palantir/tslint/issues/3450/labels{/name}","comments_url":"https://api.github.com/repos/palantir/tslint/issues/3450/comments","events_url":"https://api.github.com/repos/palantir/tslint/issues/3450/events","html_url":"https://github.com/palantir/tslint/issues/3450","id":271143854,"number":3450,"title":"[Rule Suggestion] ordered-imports: Allow for optional new lines between groups.","user":{"login":"omiiii","id":3621473,"avatar_url":"https://avatars2.githubusercontent.com/u/3621473?v=4","gravatar_id":"","url":"https://api.github.com/users/omiiii","html_url":"https://github.com/omiiii","followers_url":"https://api.github.com/users/omiiii/followers","following_url":"https://api.github.com/users/omiiii/following{/other_user}","gists_url":"https://api.github.com/users/omiiii/gists{/gist_id}","starred_url":"https://api.github.com/users/omiiii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omiiii/subscriptions","organizations_url":"https://api.github.com/users/omiiii/orgs","repos_url":"https://api.github.com/users/omiiii/repos","events_url":"https://api.github.com/users/omiiii/events{/privacy}","received_events_url":"https://api.github.com/users/omiiii/received_events","type":"User","site_admin":false},"labels":[{"id":194790477,"url":"https://api.github.com/repos/palantir/tslint/labels/Type:%20Feature%20Request","name":"Type: Feature Request","color":"FFac4e","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-03T23:22:15Z","updated_at":"2018-05-15T16:51:11Z","closed_at":null,"author_association":"NONE","body":"This is more of a preference of wanting to only have new line separation between libraries and directory imports while maintaining the sorted order enforced with \"grouped-imports\".\r\n\r\nHere's an example of what I mean:\r\n#### Enforces this\r\n```ts\r\nimport * as fs from \"fs\";\r\n\r\nimport { Foo } from \"../no\";\r\n\r\nimport { Foo } from \"./no\";\r\n```\r\n#### and can optionally enforce this\r\n```ts\r\nimport * as fs from \"fs\";\r\n\r\nimport { Foo } from \"../no\";\r\nimport { Foo } from \"./no\";\r\n```\r\nEssentially, an option to have an enforced order of imports, but not the new lines."},"comment":{"url":"https://api.github.com/repos/palantir/tslint/issues/comments/389236876","html_url":"https://github.com/palantir/tslint/issues/3450#issuecomment-389236876","issue_url":"https://api.github.com/repos/palantir/tslint/issues/3450","id":389236876,"user":{"login":"omiiii","id":3621473,"avatar_url":"https://avatars2.githubusercontent.com/u/3621473?v=4","gravatar_id":"","url":"https://api.github.com/users/omiiii","html_url":"https://github.com/omiiii","followers_url":"https://api.github.com/users/omiiii/followers","following_url":"https://api.github.com/users/omiiii/following{/other_user}","gists_url":"https://api.github.com/users/omiiii/gists{/gist_id}","starred_url":"https://api.github.com/users/omiiii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omiiii/subscriptions","organizations_url":"https://api.github.com/users/omiiii/orgs","repos_url":"https://api.github.com/users/omiiii/repos","events_url":"https://api.github.com/users/omiiii/events{/privacy}","received_events_url":"https://api.github.com/users/omiiii/received_events","type":"User","site_admin":false},"created_at":"2018-05-15T16:51:11Z","updated_at":"2018-05-15T16:51:11Z","author_association":"NONE","body":"@adidahiya Wow, I couldn't be worse with timing here. Sorry!\r\nTo answer your question, that's exactly what I'm proposing. Having groups is great, but being able to designate what the groups are would be even better!"}}
{"actor":{"display_login":"omiiii"}}