eslint问题 求助烦了我两天了文件都改了好多还是解决不了
来源:7-3 首页Header开发-头部引导导航设计

weixin_慕田峪924292
2019-10-07
warning Expected indentation of 6 spaces but found 10 spaces vue/html-indent
8:34 warning Expected 1 line break after opening tag (<nuxt-link>
), but no line breaks found vue/singleline-html-element-content-newline
8:38 warning Expected 1 line break before closing tag (</nuxt-link>
), but no line breaks found vue/singleline-html-element-content-newline
9:1 warning Expected indentation of 6 spaces but found 10 spaces vue/html-indent
9:54 warning Expected 1 line break after opening tag (<nuxt-link>
), but no line breaks found vue/singleline-html-element-content-newline
9:56 warning Expected 1 line break before closing tag (</nuxt-link>
), but no line breaks found vue/singleline-html-element-content-newline
10:1 warning Expected indentation of 4 spaces but found 6 spaces vue/html-indent
16:1 error Expected indentation of 2 spaces but found 4 indent
16:9 error Missing space before function parentheses space-before-function-paren
16:11 error Missing space before opening brace space-before-blocks
17:1 error Expected indentation of 4 spaces but found 6 indent
18:1 error Expected indentation of 6 spaces but found 10 indent
18:17 error Missing space before value for key ‘userL’ key-spacing
19:1 error Expected indentation of 4 spaces but found 6 indent
19:8 error Trailing spaces not allowed no-trailing-spaces
20:1 error Expected indentation of 2 spaces but found 4 indent
21:3 warning The “components” property should be above the “data” property on line 16 vue/order-in-components
22:1 error Trailing spaces not allowed
.eslintrc.js editorconfig.org nuxt.config.js 这些都改过还是不行 ,一直报上面这种错误 还有哪些文件需要修改??
2回答
-
蓝色的沙漏
2019-11-23
实在不行就不用eslint
00 -
快乐动起来呀
2019-10-07
同学这个主要是你ide没有启动eslint的自动修复,你看下自己的ied有设置好eslint相关的配置嘛
00
相似问题