add precommit hook for linting and automatic eslint fixes + update eslint packages (#2862)
* chore: add precommit hook for eslint fixes, fix linting issues * chore: add eslint import sort plugin
This commit is contained in:
@@ -13,15 +13,13 @@ export const NodeViewContent: Component = {
|
||||
},
|
||||
|
||||
render(this: NodeViewContentInterface, createElement) {
|
||||
return createElement(
|
||||
this.as, {
|
||||
style: {
|
||||
whiteSpace: 'pre-wrap',
|
||||
},
|
||||
attrs: {
|
||||
'data-node-view-content': '',
|
||||
},
|
||||
return createElement(this.as, {
|
||||
style: {
|
||||
whiteSpace: 'pre-wrap',
|
||||
},
|
||||
)
|
||||
attrs: {
|
||||
'data-node-view-content': '',
|
||||
},
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user