Skip to content
Snippets Groups Projects
Commit 822540a4 authored by Remi Lazarini's avatar Remi Lazarini Committed by David Bühler
Browse files

[Ivette] mardown : reactivated no-unused-vars for 2 lines

parent 95705f2e
No related branches found
No related tags found
No related merge requests found
......@@ -26,13 +26,13 @@ import remarkCustomHeaderId from 'remark-custom-header-id';
import * as Themes from 'dome/themes';
import { classes } from 'dome/misc/utils';
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import { Icon, jIconKind, IconKind } from 'dome/controls/icons';
import { Icon, jIconKind, IconKind as _IconKind } from 'dome/controls/icons';
import {
CodeBlock, atomOneDark, atomOneLight
} from "react-code-blocks";
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import { jLEDstatus, LED, LEDstatus } from 'dome/controls/displays';
import {
jLEDstatus, LED, LEDstatus as _LEDstatus
} from 'dome/controls/displays';
export interface Pattern {
pattern: RegExp,
......@@ -45,7 +45,7 @@ export interface Pattern {
* `[icon-<id>(-<kind | color>)?]` :
*
* * Id : case-insensitive, consult [Icon Gallery](../../doc/guides/icons.md)
* * kind : {@link IconKind}
* * kind : {@link _IconKind}
* * color : Hexa or html
*
* @example
......@@ -69,7 +69,7 @@ export const iconTag: Pattern = {
/**
* ledTag allows you to replace the tag with an {@link LED}.
*
* `[led-<status>]` : {@link LEDstatus}
* `[led-<status>]` : {@link _LEDstatus}
* */
export const ledTag: Pattern = {
pattern: /\[led-([^\]]+)\]/g,
......
......@@ -89,7 +89,7 @@ export function CallgraphTitleBar(props: CallgraphTitleBarProps): JSX.Element {
/* --- Callgraph documentation --- */
/* -------------------------------------------------------------------------- */
/** Pattern used for callraph documentation */
/** Pattern used for callgraph documentation */
const TSButtonTag: Pattern = {
pattern: /\[button-displaymode\]/g,
replace: (key: number, match?: RegExpExecArray) => {
......@@ -97,7 +97,7 @@ const TSButtonTag: Pattern = {
}
};
/** Pattern used for callraph documentation */
/** Pattern used for callgraph documentation */
const selectButtonTag: Pattern = {
pattern: /\[button-select\]/g,
replace: (key: number, match?: RegExpExecArray) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment