[英]intellij ESlint + JavaScript Standard Style + Code Style Scheme none consistent
I have done the following: 我做了以下事情:
When start coding (for example React Native), there is inconsistency between the code style loaded in ESlint and the Code Style used in IntelliJ, for example: 在开始编码时(例如React Native),ESlint中加载的代码样式与IntelliJ中使用的代码样式之间存在不一致,例如:
a space is required before closing bracket react/jsx-tag-spacing
在关闭括号react / jsx-tag-spacing之前需要一个空格
When using IntelliJ auto format this hasn't been solved. 使用IntelliJ自动格式时,这还没有解决。
Any ideas how to fix this inconsistency? 任何想法如何解决这种不一致?
Please try enabling Spaces/In empty tag in Settings | 请尝试在“设置”中启用Spaces / In空标记 Editor |
编辑| Code Style |
代码风格| HTML |
HTML | Other
其他
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.