diff --git a/lib/StyleComponent.js b/lib/StyleComponent.js index bb124c2..2d634ac 100644 --- a/lib/StyleComponent.js +++ b/lib/StyleComponent.js @@ -1,7 +1,8 @@ export default { name: 'svg2vue-style', functional: true, - render(h, ctx) { + // eslint-disable-next-line object-shorthand + render: function(h, ctx) { return h('style', ctx.data, ctx.children) } }