Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS012: [强制] 单行声明的数组与对象,如果包含元素,{}[] 内紧贴括号部分不允许包含空格。 #331

Open
believeZJP opened this issue Oct 29, 2018 · 1 comment
Labels

Comments

@believeZJP
Copy link

believeZJP commented Oct 29, 2018

1

import {BuyButton} from '@/containers/Home/common';

这样写报错,
image

2 加空格不报错

image

3 保存自动格式化,又去掉空格了

image

@Phinome Phinome added the bug label Nov 1, 2018
@chriswong
Copy link
Member

本地目录是不是有另外的 eslint 配置?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants