Skip to content

Commit 1bea6a3

Browse files
committed
Fix ESLint and Prettier errors
1 parent 80f03f8 commit 1bea6a3

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/App.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,13 +523,15 @@ const hideMarkdownPlugin = ViewPlugin.fromClass(
523523
to: end,
524524
deco: Decoration.replace({
525525
widget: new (class extends WidgetType {
526-
eq() { return true }
526+
eq() {
527+
return true
528+
}
527529
toDOM() {
528530
const hr = document.createElement('hr')
529531
hr.className = 'cm-hr'
530532
return hr
531533
}
532-
})()
534+
})(),
533535
}),
534536
})
535537
}
@@ -968,6 +970,7 @@ function App() {
968970
() => [
969971
EditorView.lineWrapping,
970972
Prec.highest(
973+
// eslint-disable-next-line react-hooks/refs
971974
keymap.of([
972975
{ key: 'Tab', preventDefault: true, run: insertTab },
973976
{ key: 'Shift-Tab', preventDefault: true, run: indentLess },

0 commit comments

Comments
 (0)