webstorm eslint error: ESLint: Expected indentation of 0 spaces but found 2. (indent)

1. 原因   2. 参考:   https://github.com/vuejs/eslint-plugin-vue/issues/352   3. 解决: (1) 编辑Eslint配置,忽略缩进:'indent': 'off' (2) 编辑webstorm规则,忽略script子标签缩进,File => Setting => Editor => Code Style => HTML 找到 ad
相关文章
相关标签/搜索