packages/mermaid/src/diagrams/timeline/styles.js
Function genSections
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const genSections = (options) => {
let sections = '';
for (let i = 0; i < options.THEME_COLOR_LIMIT; i++) {
options['lineColor' + i] = options['lineColor' + i] || options['cScaleInv' + i];