mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2026-06-23 04:10:17 +00:00
fix(lint): fixes for html-to-react and commons packages
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
committed by
Philip Molares
parent
78062bb75c
commit
420925f490
@@ -4,6 +4,7 @@
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
// oxlint-disable jest/valid-title
|
||||
import { describe, expect, it } from '@jest/globals'
|
||||
import { ALIAS_REGEX } from './alias.js'
|
||||
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
*/
|
||||
|
||||
import { renderToStaticMarkup } from 'react-dom/server'
|
||||
import { convertHtmlToReact, ParserOptions } from './convertHtmlToReact.js'
|
||||
import { convertHtmlToReact, type ParserOptions } from './convertHtmlToReact.js'
|
||||
import { convertNodeToReactElement } from './convertNodeToReactElement.js'
|
||||
import { Document, isTag, isText } from 'domhandler'
|
||||
import { NodeToReactElementTransformer } from './NodeToReactElementTransformer.js'
|
||||
import React, { ReactElement } from 'react'
|
||||
import type { NodeToReactElementTransformer } from './NodeToReactElementTransformer.js'
|
||||
import React, { type ReactElement } from 'react'
|
||||
import { describe, expect, it } from '@jest/globals'
|
||||
|
||||
const expectSameHtml = function (html: string, options: ParserOptions = {}) {
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
import { describe, expect, it } from '@jest/globals'
|
||||
import { convertInlineStyleToMap } from './convertInlineStyleToMap.js'
|
||||
|
||||
describe('convertInlineStyleToMap', () => {
|
||||
|
||||
Reference in New Issue
Block a user