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'; ...@@ -26,13 +26,13 @@ import remarkCustomHeaderId from 'remark-custom-header-id';
import * as Themes from 'dome/themes'; import * as Themes from 'dome/themes';
import { classes } from 'dome/misc/utils'; import { classes } from 'dome/misc/utils';
// eslint-disable-next-line @typescript-eslint/no-unused-vars import { Icon, jIconKind, IconKind as _IconKind } from 'dome/controls/icons';
import { Icon, jIconKind, IconKind } from 'dome/controls/icons';
import { import {
CodeBlock, atomOneDark, atomOneLight CodeBlock, atomOneDark, atomOneLight
} from "react-code-blocks"; } from "react-code-blocks";
// eslint-disable-next-line @typescript-eslint/no-unused-vars import {
import { jLEDstatus, LED, LEDstatus } from 'dome/controls/displays'; jLEDstatus, LED, LEDstatus as _LEDstatus
} from 'dome/controls/displays';
export interface Pattern { export interface Pattern {
pattern: RegExp, pattern: RegExp,
...@@ -45,7 +45,7 @@ export interface Pattern { ...@@ -45,7 +45,7 @@ export interface Pattern {
* `[icon-<id>(-<kind | color>)?]` : * `[icon-<id>(-<kind | color>)?]` :
* *
* * Id : case-insensitive, consult [Icon Gallery](../../doc/guides/icons.md) * * Id : case-insensitive, consult [Icon Gallery](../../doc/guides/icons.md)
* * kind : {@link IconKind} * * kind : {@link _IconKind}
* * color : Hexa or html * * color : Hexa or html
* *
* @example * @example
...@@ -69,7 +69,7 @@ export const iconTag: Pattern = { ...@@ -69,7 +69,7 @@ export const iconTag: Pattern = {
/** /**
* ledTag allows you to replace the tag with an {@link LED}. * ledTag allows you to replace the tag with an {@link LED}.
* *
* `[led-<status>]` : {@link LEDstatus} * `[led-<status>]` : {@link _LEDstatus}
* */ * */
export const ledTag: Pattern = { export const ledTag: Pattern = {
pattern: /\[led-([^\]]+)\]/g, pattern: /\[led-([^\]]+)\]/g,
......
...@@ -89,7 +89,7 @@ export function CallgraphTitleBar(props: CallgraphTitleBarProps): JSX.Element { ...@@ -89,7 +89,7 @@ export function CallgraphTitleBar(props: CallgraphTitleBarProps): JSX.Element {
/* --- Callgraph documentation --- */ /* --- Callgraph documentation --- */
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/** Pattern used for callraph documentation */ /** Pattern used for callgraph documentation */
const TSButtonTag: Pattern = { const TSButtonTag: Pattern = {
pattern: /\[button-displaymode\]/g, pattern: /\[button-displaymode\]/g,
replace: (key: number, match?: RegExpExecArray) => { replace: (key: number, match?: RegExpExecArray) => {
...@@ -97,7 +97,7 @@ const TSButtonTag: Pattern = { ...@@ -97,7 +97,7 @@ const TSButtonTag: Pattern = {
} }
}; };
/** Pattern used for callraph documentation */ /** Pattern used for callgraph documentation */
const selectButtonTag: Pattern = { const selectButtonTag: Pattern = {
pattern: /\[button-select\]/g, pattern: /\[button-select\]/g,
replace: (key: number, match?: RegExpExecArray) => { 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