mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-27 14:59:27 +08:00
fix lint errors
This commit is contained in:
parent
3606eb9d02
commit
7b74d5849f
@ -67,7 +67,7 @@ module.exports = {
|
||||
'no-redeclare': 'off',
|
||||
'@typescript-eslint/no-redeclare': ['error'],
|
||||
'no-unused-vars': 'off',
|
||||
'@typescript-eslint/no-unused-vars': ['error'],
|
||||
'@typescript-eslint/no-unused-vars': ['error', { ignoreRestSiblings: true }],
|
||||
'no-use-before-define': 'off',
|
||||
'@typescript-eslint/no-use-before-define': ['error'],
|
||||
'no-dupe-class-members': 'off',
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { canSplit } from 'prosemirror-transform'
|
||||
import { ContentMatch, Fragment } from 'prosemirror-model'
|
||||
import { ContentMatch } from 'prosemirror-model'
|
||||
import { EditorState, NodeSelection, TextSelection } from 'prosemirror-state'
|
||||
import { Command, RawCommands } from '../types'
|
||||
import getSplittedAttributes from '../helpers/getSplittedAttributes'
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Editor, Extension, isNodeEmpty } from '@tiptap/core'
|
||||
import { Editor, Extension } from '@tiptap/core'
|
||||
import { Node as ProsemirrorNode } from 'prosemirror-model'
|
||||
import { Decoration, DecorationSet } from 'prosemirror-view'
|
||||
import { Plugin } from 'prosemirror-state'
|
||||
|
@ -1,5 +1,6 @@
|
||||
/// <reference types="cypress" />
|
||||
|
||||
// eslint-disable-next-line
|
||||
import { Editor, getDebugJSON } from '@tiptap/core'
|
||||
import Document from '@tiptap/extension-document'
|
||||
import Paragraph from '@tiptap/extension-paragraph'
|
||||
|
Loading…
Reference in New Issue
Block a user