Skip to content
Snippets Groups Projects
Commit 7255c2c6 authored by Loïc Correnson's avatar Loïc Correnson
Browse files

[ivette] please the linter…

parent e2a0d078
No related branches found
No related tags found
No related merge requests found
...@@ -24,6 +24,11 @@ lint: dome-pkg dome-templ ...@@ -24,6 +24,11 @@ lint: dome-pkg dome-templ
@echo "[Ivette] running ts linter" @echo "[Ivette] running ts linter"
yarn run lint yarn run lint
fixlint: dome-pkg dome-templ
@echo "[Ivette] running ts linter (with fix)"
yarn run lint --fix
# -------------------------------------------------------------------------- # --------------------------------------------------------------------------
# --- Ivette Documentation # --- Ivette Documentation
# -------------------------------------------------------------------------- # --------------------------------------------------------------------------
......
...@@ -111,16 +111,29 @@ const ASTview = () => { ...@@ -111,16 +111,29 @@ const ASTview = () => {
return ( return (
<> <>
<TitleBar> <TitleBar>
<IconButton icon="ZOOM.OUT" onClick={zoomOut} <IconButton
icon="ZOOM.OUT"
onClick={zoomOut}
disabled={!theFunction} disabled={!theFunction}
title="Zoom In (increase font size)" /> title="Zoom In (increase font size)"
<IconButton icon="ZOOM.IN" onClick={zoomIn} />
<IconButton
icon="ZOOM.IN"
onClick={zoomIn}
disabled={!theFunction} disabled={!theFunction}
title="Zoom Out (decrease font size)" /> title="Zoom Out (decrease font size)"
<IconButton icon="CODE" onClick={themePopup} />
title="Choose Theme" /> <IconButton
<IconButton icon="WRAPTEXT" selected={wrapText} onClick={setWrapText} icon="CODE"
title="Wrap Text" /> onClick={themePopup}
title="Choose Theme"
/>
<IconButton
icon="WRAPTEXT"
selected={wrapText}
onClick={setWrapText}
title="Wrap Text"
/>
</TitleBar> </TitleBar>
<Text <Text
buffer={buffer} buffer={buffer}
......
...@@ -171,7 +171,8 @@ const RenderConsole = () => { ...@@ -171,7 +171,8 @@ const RenderConsole = () => {
<Label <Label
className="dimmed" className="dimmed"
display={command && length > 0} display={command && length > 0}
title="Rank in History" > title="Rank in History"
>
{1 + index}/{length} {1 + index}/{length}
</Label> </Label>
<Space /> <Space />
......
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