Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
822540a4
Commit
822540a4
authored
1 month ago
by
Remi Lazarini
Committed by
David Bühler
1 month ago
Browse files
Options
Downloads
Patches
Plain Diff
[Ivette] mardown : reactivated no-unused-vars for 2 lines
parent
95705f2e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ivette/src/dome/renderer/text/markdown.tsx
+6
-6
6 additions, 6 deletions
ivette/src/dome/renderer/text/markdown.tsx
ivette/src/frama-c/plugins/callgraph/components/titlebar.tsx
+2
-2
2 additions, 2 deletions
ivette/src/frama-c/plugins/callgraph/components/titlebar.tsx
with
8 additions
and
8 deletions
ivette/src/dome/renderer/text/markdown.tsx
+
6
−
6
View file @
822540a4
...
@@ -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
,
...
...
This diff is collapsed.
Click to expand it.
ivette/src/frama-c/plugins/callgraph/components/titlebar.tsx
+
2
−
2
View file @
822540a4
...
@@ -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 call
g
raph 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 call
g
raph 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
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment