Skip to content

Commit a13eacf

Browse files
committed
chore: Fix linting
1 parent 2055da5 commit a13eacf

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/components/Editor/Editor.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -448,10 +448,10 @@ export default class Editor extends React.Component<Props, State> {
448448
? // Trigger redo with ⌘+Shift+Z on Mac
449449
e.metaKey && e.keyCode === KEYCODE_Z && e.shiftKey
450450
: isWindows
451-
? // Trigger redo with Ctrl+Y on Windows
452-
e.ctrlKey && e.keyCode === KEYCODE_Y
453-
: // Trigger redo with Ctrl+Shift+Z on other platforms
454-
e.ctrlKey && e.keyCode === KEYCODE_Z && e.shiftKey) &&
451+
? // Trigger redo with Ctrl+Y on Windows
452+
e.ctrlKey && e.keyCode === KEYCODE_Y
453+
: // Trigger redo with Ctrl+Shift+Z on other platforms
454+
e.ctrlKey && e.keyCode === KEYCODE_Z && e.shiftKey) &&
455455
!e.altKey
456456
) {
457457
e.preventDefault();

src/theme/theme-dark.less

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,11 @@ https://prismjs.com/download.html#themes=prism-twilight&languages=markup+css+cli
153153
border-bottom: 1px dashed #545454;
154154
margin-top: 0.75em;
155155
background: hsla(0, 0%, 33%, 0.25);
156-
background: linear-gradient(to right, hsla(0, 0%, 33%, 0.1) 70%, hsla(0, 0%, 33%, 0));
156+
background: linear-gradient(
157+
to right,
158+
hsla(0, 0%, 33%, 0.1) 70%,
159+
hsla(0, 0%, 33%, 0)
160+
);
157161
}
158162

159163
.line-highlight.line-highlight:before,

0 commit comments

Comments
 (0)