ryu1kn/vscode-annotator

View on GitHub
src/lib/annotation-script-provider.ts

Summary

Maintainability
A
3 hrs
Test Coverage
A
100%

Function provide has 81 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    provide() {
        const highlightColour = this._configStore.getExtensionConfig('annotationHighlightColor');
        return `
            var vscode = acquireVsCodeApi();
            var stylesheet = document.styleSheets[0];
Severity: Major
Found in src/lib/annotation-script-provider.ts - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status