mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-18 11:44:07 +01:00
Lint fix
This commit is contained in:
@@ -51,6 +51,7 @@ import journeyDb from './diagrams/user-journey/journeyDb';
|
|||||||
import journeyRenderer from './diagrams/user-journey/journeyRenderer';
|
import journeyRenderer from './diagrams/user-journey/journeyRenderer';
|
||||||
|
|
||||||
const themes = {};
|
const themes = {};
|
||||||
|
|
||||||
for (const themeName of ['default', 'forest', 'dark', 'neutral']) {
|
for (const themeName of ['default', 'forest', 'dark', 'neutral']) {
|
||||||
themes[themeName] = require(`./themes/${themeName}/index.scss`);
|
themes[themeName] = require(`./themes/${themeName}/index.scss`);
|
||||||
}
|
}
|
||||||
@@ -105,27 +106,27 @@ const config = {
|
|||||||
maxTextSize: 50000,
|
maxTextSize: 50000,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*| Parameter | Description |Type | Required | Values|
|
*| Parameter | Description |Type | Required | Values|
|
||||||
*| --- | --- | --- | --- | --- |
|
*| --- | --- | --- | --- | --- |
|
||||||
*|fontFamily | specifies the font to be used in the rendered diagrams| String | Required | Verdana, Arial, Trebuchet MS,|
|
*|fontFamily | specifies the font to be used in the rendered diagrams| String | Required | Verdana, Arial, Trebuchet MS,|
|
||||||
*
|
*
|
||||||
***notes: Default value is \\"trebuchet ms\\".
|
***notes: Default value is \\"trebuchet ms\\".
|
||||||
*/
|
*/
|
||||||
fontFamily: '"trebuchet ms", verdana, arial;',
|
fontFamily: '"trebuchet ms", verdana, arial;',
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*| Parameter | Description |Type | Required | Values|
|
*| Parameter | Description |Type | Required | Values|
|
||||||
*| --- | --- | --- | --- | --- |
|
*| --- | --- | --- | --- | --- |
|
||||||
*| logLevel |This option decides the amount of logging to be used.| String | Required | 1, 2, 3, 4, 5 |
|
*| logLevel |This option decides the amount of logging to be used.| String | Required | 1, 2, 3, 4, 5 |
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
***Notes:**
|
***Notes:**
|
||||||
*- debug: 1.
|
*- debug: 1.
|
||||||
*- info: 2.
|
*- info: 2.
|
||||||
*- warn: 3.
|
*- warn: 3.
|
||||||
*- error: 4.
|
*- error: 4.
|
||||||
*- fatal: 5(default).
|
*- fatal: 5(default).
|
||||||
*/
|
*/
|
||||||
logLevel: 5,
|
logLevel: 5,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -156,7 +157,7 @@ const config = {
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
*## Notes**: This matters if you are using base tag settings.
|
*## Notes**: This matters if you are using base tag settings.
|
||||||
***Default value: false**.
|
***Default value: false**.
|
||||||
*/
|
*/
|
||||||
arrowMarkerAbsolute: false,
|
arrowMarkerAbsolute: false,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user