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
相關文章
相關標籤/搜索