From 042c8be062cf18e700ba8ed0ba207e9ce00c0cb2 Mon Sep 17 00:00:00 2001 From: pocka Date: Sat, 2 Feb 2019 01:57:38 +0900 Subject: [PATCH] [refactor] Fix lint errors --- package.json | 2 +- src/addon.ts | 1 - src/index.ts | 2 +- src/lib.d.ts | 4 +++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index a1c00cf..3dd2616 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,6 @@ "homepage": "https://github.com/pocka/storybook-addon-vue-info#readme", "devDependencies": { "@babel/core": "^7.2.2", - "@storybook/addons": "^4.1.11", "@storybook/vue": "^4.1.11", "@types/dedent": "^0.7.0", "@types/highlight.js": "^9.12.2", @@ -102,6 +101,7 @@ ] }, "dependencies": { + "@storybook/addons": "^4.1.11", "dedent": "^0.7.0", "highlight.js": "^9.12.0", "marked": "^0.3.19", diff --git a/src/addon.ts b/src/addon.ts index 1937feb..5518d77 100644 --- a/src/addon.ts +++ b/src/addon.ts @@ -5,4 +5,3 @@ export const PanelName = AddonName + '/panel' export const Events = { ShowDocs: AddonName + '/show_docs' } - diff --git a/src/index.ts b/src/index.ts index 0deeb35..b22378d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,7 +4,7 @@ import { StoryDecorator, StoryFunction } from '@storybook/vue' import { extract } from './extract' import { defaultOptions, InfoAddonOptions } from './options' -import { wrap, transfer } from './view' +import { transfer, wrap } from './view' export * from './components' diff --git a/src/lib.d.ts b/src/lib.d.ts index 660406d..abb3360 100644 --- a/src/lib.d.ts +++ b/src/lib.d.ts @@ -1,3 +1,5 @@ +/* tslint:disable:ban-types */ + declare module 'vue-template-compiler' { export interface ASTElement { attrs?: any[] @@ -20,7 +22,7 @@ declare module 'vue-template-compiler' { declare module 'vuera' { import * as React from 'react' - import { Component, AsyncComponent } from 'vue' + import { AsyncComponent, Component } from 'vue' interface Props { component: