[improvement] update eslint config (#2288)
This commit is contained in:
@@ -4,15 +4,15 @@
|
||||
import '../locale';
|
||||
import bem from '../mixins/bem';
|
||||
import i18n from '../mixins/i18n';
|
||||
import { isDef } from './';
|
||||
import { isDef } from '.';
|
||||
|
||||
function install(Vue) {
|
||||
Vue.component(this.name, this);
|
||||
};
|
||||
}
|
||||
|
||||
function returnArray() {
|
||||
return [];
|
||||
};
|
||||
}
|
||||
|
||||
function defaultProps(props) {
|
||||
Object.keys(props).forEach(key => {
|
||||
@@ -30,7 +30,7 @@ function defaultProps(props) {
|
||||
});
|
||||
}
|
||||
|
||||
export default function(sfc) {
|
||||
export default function (sfc) {
|
||||
sfc.name = 'van-' + sfc.name;
|
||||
sfc.install = sfc.install || install;
|
||||
sfc.mixins = sfc.mixins || [];
|
||||
|
||||
Reference in New Issue
Block a user