update eslint config
This commit is contained in:
@@ -38,6 +38,7 @@ module.exports = {
|
|||||||
'no-alert': 'off',
|
'no-alert': 'off',
|
||||||
'no-console': ['warn', { allow: ['warn', 'error'] }],
|
'no-console': ['warn', { allow: ['warn', 'error'] }],
|
||||||
semi: ['error', 'never'],
|
semi: ['error', 'never'],
|
||||||
|
'import/order': 'off',
|
||||||
'import/extensions': 'off',
|
'import/extensions': 'off',
|
||||||
'import/no-extraneous-dependencies': 'off',
|
'import/no-extraneous-dependencies': 'off',
|
||||||
'import/no-unresolved': 'off',
|
'import/no-unresolved': 'off',
|
||||||
|
|||||||
@@ -14,10 +14,10 @@ import Document from '@tiptap/extension-document'
|
|||||||
import Paragraph from '@tiptap/extension-paragraph'
|
import Paragraph from '@tiptap/extension-paragraph'
|
||||||
import Text from '@tiptap/extension-text'
|
import Text from '@tiptap/extension-text'
|
||||||
import CodeBlockLowlight from '@tiptap/extension-code-block-lowlight'
|
import CodeBlockLowlight from '@tiptap/extension-code-block-lowlight'
|
||||||
import lowlight from 'lowlight'
|
|
||||||
import CodeBlockComponent from './CodeBlockComponent'
|
import CodeBlockComponent from './CodeBlockComponent'
|
||||||
|
|
||||||
// load all highlight.js languages
|
// load all highlight.js languages
|
||||||
|
import lowlight from 'lowlight'
|
||||||
|
|
||||||
// load specific languages only
|
// load specific languages only
|
||||||
// import lowlight from 'lowlight/lib/core'
|
// import lowlight from 'lowlight/lib/core'
|
||||||
|
|||||||
Reference in New Issue
Block a user