Skip to content

Commit

Permalink
Merge branch 'bugfix/new-lines'
Browse files Browse the repository at this point in the history
  • Loading branch information
myovchev committed Feb 7, 2018
2 parents 5b573e1 + f909b2f commit 2f85597
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions snippets/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit 2f85597

Please sign in to comment.