Skip to content

Commit

Permalink
style: fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bdbch committed Jun 6, 2022
1 parent 4ce5850 commit fd593bb
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 19 deletions.
31 changes: 16 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions packages/extension-link/src/link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ export const Link = Mark.create<LinkOptions>({
keepOnSplit: false,

onCreate() {
for (const protocol of this.options.protocols) {
registerCustomProtocol(protocol)
}
this.options.protocols.forEach(registerCustomProtocol)
},

inclusive() {
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-2/src/VueRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class VueRenderer {

// prevents `Avoid mutating a prop directly` error message
// Fix: `VueNodeViewRenderer` change vue Constructor `config.silent` not working
const currentVueConstructor = this.ref.$props.editor.contentComponent?.$options._base ?? Vue;
const currentVueConstructor = this.ref.$props.editor.contentComponent?.$options._base ?? Vue // eslint-disable-line
const originalSilent = currentVueConstructor.config.silent

currentVueConstructor.config.silent = true
Expand Down

0 comments on commit fd593bb

Please sign in to comment.