Skip to content

Commit 8890af3

Browse files
committed
chore: run lint
1 parent ceef560 commit 8890af3

File tree

4 files changed

+1588
-1762
lines changed

4 files changed

+1588
-1762
lines changed

lib/adapters/outline-view-adapter.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,14 @@ export default class OutlineViewAdapter {
110110
* should be converted to an {OutlineTree}.
111111
* @returns An {OutlineTree} containing the given symbols that the Outline View can display.
112112
*/
113-
public static createOutlineTrees(symbols: SymbolInformation[]): atomIde.OutlineTree[] {
114-
symbols.sort((a, b) => {
115-
if (a.location.range.start.line === b.location.range.start.line) {
116-
return a.location.range.start.character - b.location.range.start.character
117-
} else {
118-
return a.location.range.start.line - b.location.range.start.line
119-
}
120-
})
113+
public static createOutlineTrees(symbols: SymbolInformation[]): atomIde.OutlineTree[] {
114+
symbols.sort((a, b) => {
115+
if (a.location.range.start.line === b.location.range.start.line) {
116+
return a.location.range.start.character - b.location.range.start.character
117+
} else {
118+
return a.location.range.start.line - b.location.range.start.line
119+
}
120+
})
121121

122122
// Temporarily keep containerName through the conversion process
123123
// Also filter out symbols without a name - it's part of the spec but some don't include it

0 commit comments

Comments
 (0)