eslint配置extends: ['standard']以后,报一些配置问题的错误
来源:5-6 开发环境 - 设置 ESLint 检查代码格式

南宫冰雪
2018-11-09
老师我想请问下,我这个配置哪里有问题呀
写回答
1回答
-
qbaty
2018-11-13
他的提示是说在indent 这条规则后面的这些规则
{ "indent": ["error", 4, { "ImportDeclaration": 1 "flatTernaryExpressions": true "ignoreComments": false }] }
我写的是提供的默认值
我怀疑是后面的react/jsx-indent 影响了indent的rules
00
相似问题