You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Package Name And Version: arco-design-pro-vue@2.5.15
Browser: chrome105.0.0.0
Extra info
错误信息
/Users/xxx/workspace/hello-arco-pro/everythingPaaSStoreFront/src/views/dashboard/users/index. vue: When linting something other than CSS, you should install an appropriate syntax, e.g. "postcss-html", and use the "customSyntax" option
/Users/xxx/workspace/hello-arco-pro/everythingPaaSStoreFront/src/views/inspection/inspection/index. vue: When linting something other than CSS, you should install an appropriate syntax, e.g. "postcss-html", and use the "customSyntax" option
src/views/dashboard/users/index.vue
90:20 ✖ Unknown word CssSyntaxError
src/views/inspection/inspection/index.vue
6:12 ✖ Unknown word CssSyntaxError
Basic Info
Extra info
错误信息
/Users/xxx/workspace/hello-arco-pro/everythingPaaSStoreFront/src/views/dashboard/users/index. vue: When linting something other than CSS, you should install an appropriate syntax, e.g. "postcss-html", and use the "customSyntax" option
/Users/xxx/workspace/hello-arco-pro/everythingPaaSStoreFront/src/views/inspection/inspection/index. vue: When linting something other than CSS, you should install an appropriate syntax, e.g. "postcss-html", and use the "customSyntax" option
src/views/dashboard/users/index.vue
90:20 ✖ Unknown word CssSyntaxError
src/views/inspection/inspection/index.vue
6:12 ✖ Unknown word CssSyntaxError
2 problems (2 errors, 0 warnings)
我的解决办法,网上查询得知错误是 eslint 不能识别该语法,是因为 eslint 14 之后,需要下载插件识别 vue

npm install --save-dev postcss-html stylelint-config-recommended-vue
stylelint 配置文件添加extends,'stylelint-config-recommended-vue',
What is expected?
应该提交成功
Steps to reproduce
只要添加一个 vue 文件,提交就会失败
The text was updated successfully, but these errors were encountered: