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).

11 lines (9 loc) 274 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: var(--spacing); top: 0; background: var(--background-color); }