From f909b2f8c71afa322cc7da65543c43f2ce7db88d Mon Sep 17 00:00:00 2001 From: Miro Yovchev Date: Wed, 7 Feb 2018 10:17:27 +0200 Subject: [PATCH] Fix unnecessary new lines --- snippets/snippets.json | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/snippets/snippets.json b/snippets/snippets.json index 3a8203a..2b0b933 100644 --- a/snippets/snippets.json +++ b/snippets/snippets.json @@ -2,56 +2,49 @@ "import_default": { "prefix": "imp", "body": [ - "import $2 from '$1';", - "$3" + "import $2 from '$1';$3" ], "description": "Import default module" }, "import_named": { "prefix": "impn", "body": [ - "import { $2 } from '$1';", - "$3" + "import { $2 } from '$1';$3" ], "description": "Import named" }, "import_default_named": { "prefix": "impdn", "body": [ - "import $2, { $3 } from '$1';", - "$4" + "import $2, { $3 } from '$1';$4" ], "description": "Import default and named" }, "import_global": { "prefix": "impg", "body": [ - "import '$1';", - "$2" + "import '$1';$2" ], "description": "Import module without module name" }, "import_all_alias": { "prefix": "impa", "body": [ - "import * as $2 from '$1';", - "$3" + "import * as $2 from '$1';$3" ], "description": "Import all as alias" }, "import_alias": { "prefix": "impal", "body": [ - "import { $2 as $3 } from '$1';", - "$4" + "import { $2 as $3 } from '$1';$4" ], "description": "Import with alias" }, "arrow_func_single_line": { "prefix": "arrs", "body": [ - "$1 => $2", - "$3" + "$1 => $2" ], "description": "Single line, one argument arrow function" },