chore: add eslint config

This commit is contained in:
fanxingqiang
2021-07-05 17:39:00 +08:00
committed by 踏学吾痕
parent 0adc256d53
commit e1200f2dbe
10 changed files with 1873 additions and 3158 deletions

View File

@@ -1,4 +1,4 @@
import { App } from "vue";
import {App, Component} from "vue";
import {
ElAffix,
ElSkeleton,
@@ -74,7 +74,7 @@ import zhLocale from "element-plus/lib/locale/lang/zh-cn";
ElementLocale.use(zhLocale);
export function useElementPlus(app: App) {
components.forEach((component) => {
components.forEach((component: Component) => {
app.component(component.name, component);
});
plugins.forEach((plugin) => {