mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-27 14:59:27 +08:00
update eslint config
This commit is contained in:
parent
3fe70ee125
commit
b076405c32
@ -38,6 +38,7 @@ module.exports = {
|
||||
'no-alert': 'off',
|
||||
'no-console': ['warn', { allow: ['warn', 'error'] }],
|
||||
semi: ['error', 'never'],
|
||||
'import/order': 'off',
|
||||
'import/extensions': 'off',
|
||||
'import/no-extraneous-dependencies': 'off',
|
||||
'import/no-unresolved': 'off',
|
||||
|
@ -14,10 +14,10 @@ import Document from '@tiptap/extension-document'
|
||||
import Paragraph from '@tiptap/extension-paragraph'
|
||||
import Text from '@tiptap/extension-text'
|
||||
import CodeBlockLowlight from '@tiptap/extension-code-block-lowlight'
|
||||
import lowlight from 'lowlight'
|
||||
import CodeBlockComponent from './CodeBlockComponent'
|
||||
|
||||
// load all highlight.js languages
|
||||
import lowlight from 'lowlight'
|
||||
|
||||
// load specific languages only
|
||||
// import lowlight from 'lowlight/lib/core'
|
||||
|
Loading…
Reference in New Issue
Block a user