fix lint errors

This commit is contained in:
Philipp Kühn 2021-05-28 15:16:33 +02:00
parent 3606eb9d02
commit 7b74d5849f
4 changed files with 4 additions and 3 deletions

View File

@ -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',

View File

@ -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'

View File

@ -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'

View File

@ -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'