update eslint config

This commit is contained in:
Philipp Kühn 2021-04-14 10:04:30 +02:00
parent 3fe70ee125
commit b076405c32
2 changed files with 2 additions and 1 deletions

View File

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

View File

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