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) 187 B
.toggleablebox-contentwrapper { margin: 0; margin-left: var(--spacing); padding: 0; } .toggleablebox-contentwrapper:only-child { margin-left: calc(2 * var(--spacing)); }