Skip to content

Commit 1c8e68d

Browse files
committed
run linter
1 parent 8fa640e commit 1c8e68d

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

src/Elastic.Markdown/Assets/main.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
import {initCopyButton} from './copybutton'
2-
import {initDismissibleBanner} from './dismissible-banner'
3-
import {initHighlight} from './hljs'
4-
import {openDetailsWithAnchor} from './open-details-with-anchor'
5-
import {initNav} from './pages-nav'
6-
import {initSmoothScroll} from './smooth-scroll'
7-
import {initTabs} from './tabs'
8-
import {initTocNav} from './toc-nav'
1+
import { initCopyButton } from './copybutton'
2+
import { initDismissibleBanner } from './dismissible-banner'
3+
import { initHighlight } from './hljs'
4+
import { openDetailsWithAnchor } from './open-details-with-anchor'
5+
import { initNav } from './pages-nav'
6+
import { initSmoothScroll } from './smooth-scroll'
7+
import { initTabs } from './tabs'
8+
import { initTocNav } from './toc-nav'
99
import 'htmx-ext-head-support'
1010
import 'htmx-ext-preload'
1111
import 'htmx.org'
12-
import {$, $$} from 'select-dom'
13-
import {UAParser} from 'ua-parser-js'
12+
import { $, $$ } from 'select-dom'
13+
import { UAParser } from 'ua-parser-js'
1414

15-
const {getOS} = new UAParser()
15+
const { getOS } = new UAParser()
1616

1717
document.addEventListener('htmx:load', function () {
1818
initTocNav()
@@ -38,9 +38,9 @@ document.addEventListener('htmx:beforeRequest', function (event) {
3838
event.detail.requestConfig.verb === 'get' &&
3939
event.detail.requestConfig.triggeringEvent
4040
) {
41-
const {ctrlKey, metaKey, shiftKey}: PointerEvent =
41+
const { ctrlKey, metaKey, shiftKey }: PointerEvent =
4242
event.detail.requestConfig.triggeringEvent
43-
const {name: os} = getOS()
43+
const { name: os } = getOS()
4444
const modifierKey: boolean = os === 'macOS' ? metaKey : ctrlKey
4545
if (shiftKey || modifierKey) {
4646
event.preventDefault()

src/Elastic.Markdown/Assets/markdown/mermaid.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.mermaid {
2-
@apply border-grey-10 rounded-md border-2 font-sans mt-4;
2+
@apply border-grey-10 mt-4 rounded-md border-2 font-sans;
33

44
font-size: 0.875em !important;
55

0 commit comments

Comments
 (0)