Add multiline-comment-style lint rule and fix violations
Enable multiline-comment-style with starred-block to require JSDoc-style block comments with content on separate lines from the opening delimiter. Auto-fix existing violations across the codebase. Fixes #5899 Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>
This commit is contained in:
co-authored by
Daniel Imms
parent
1a67b6f4b3
commit
4ec85e67ba
@@ -33,8 +33,10 @@ export class OscLinkProvider implements ILinkProvider {
|
||||
let currentStart = -1;
|
||||
let finishLink = false;
|
||||
for (let x = 0; x < lineLength; x++) {
|
||||
// Minor optimization, only check for content if there isn't a link in case the link ends with
|
||||
// a null cell
|
||||
/*
|
||||
* Minor optimization, only check for content if there isn't a link in case the link ends with
|
||||
* a null cell
|
||||
*/
|
||||
if (currentStart === -1 && !line.hasContent(x)) {
|
||||
continue;
|
||||
}
|
||||
@@ -107,8 +109,10 @@ export class OscLinkProvider implements ILinkProvider {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: Handle fetching and returning other link ranges to underline other links with the same
|
||||
// id
|
||||
/*
|
||||
* TODO: Handle fetching and returning other link ranges to underline other links with the same
|
||||
* id
|
||||
*/
|
||||
callback(result);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user