add a blank line after import block
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
## v0.1.0
|
||||||
|
Changes:
|
||||||
|
* add a blank line after import block
|
||||||
|
|||||||
@@ -77,3 +77,6 @@ package VSIX file:
|
|||||||
## Debug
|
## Debug
|
||||||
|
|
||||||
After install dependencies, just press `F5` to start debugging. If some error occurs, it will be printed onto the output panel.
|
After install dependencies, just press `F5` to start debugging. If some error occurs, it will be printed onto the output panel.
|
||||||
|
|
||||||
|
## Change Log
|
||||||
|
See [CHANGELOG.md](./CHANGELOG.md)
|
||||||
|
|||||||
+2
-1
@@ -3,7 +3,7 @@
|
|||||||
"publisher": "mattuy",
|
"publisher": "mattuy",
|
||||||
"displayName": "vsc-sort-import",
|
"displayName": "vsc-sort-import",
|
||||||
"description": "A personal opinionated EcmaScript import sorting extension for VSCode.",
|
"description": "A personal opinionated EcmaScript import sorting extension for VSCode.",
|
||||||
"version": "0.0.1",
|
"version": "0.1.0",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"vscode",
|
"vscode",
|
||||||
"javascript",
|
"javascript",
|
||||||
@@ -39,6 +39,7 @@
|
|||||||
"vscode:prepublish": "npm run compile",
|
"vscode:prepublish": "npm run compile",
|
||||||
"compile": "tsc -p ./",
|
"compile": "tsc -p ./",
|
||||||
"watch": "tsc -watch -p ./",
|
"watch": "tsc -watch -p ./",
|
||||||
|
"package": "vsce package",
|
||||||
"pretest": "npm run compile",
|
"pretest": "npm run compile",
|
||||||
"test": "node ./out/test/runTest.js"
|
"test": "node ./out/test/runTest.js"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -101,5 +101,9 @@ export default function (styleApi: IStyleAPI): IStyleItem[] {
|
|||||||
sort: [dotSegmentCount, memberOrModule(natural)],
|
sort: [dotSegmentCount, memberOrModule(natural)],
|
||||||
sortNamedMembers: name(natural),
|
sortNamedMembers: name(natural),
|
||||||
},
|
},
|
||||||
|
// add a blank line after import block
|
||||||
|
{
|
||||||
|
separator: true,
|
||||||
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user