UNPKG

cognitive-complexity-ts

Version:

This program analyses TypeScript and JavaScript code according to the [Cognitive Complexity metric](https://www.sonarsource.com/docs/CognitiveComplexity.pdf). It produces a JSON summary and a GUI for exploring the complexity of your codebase.

10 lines (8 loc) 249 B
.stickytext { /* When being sticky, there is no margin, but we want normal spacing. */ padding: var(--half-spacing) 0; position: sticky; margin: var(--half-spacing) 0; margin-right: 0; background: var(--background-color); }