-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unknown word CssSyntaxError #286
Comments
@strongyc 如何复现呢?建议先重装依赖看看哈。 |
我也有这个错误 怎么都提交不上去 请问如何解决 |
@sHow8e 使用arco-cli创建默认项目,git commit 后就会报错 |
@wilhantian #235 参考一下这个? |
@sHow8e 尝试添加 |
添加了
之后遇到了另一个问题,
通过升级 "stylelint": "^15.3.0",解决 |
最后配置成这样,我这没有peer 和stylelint 问题 .stylelintrc.js customSyntax: 'postcss-html',
extends: [
'stylelint-config-standard',
'stylelint-config-rational-order',
'stylelint-config-recommended-vue',
], package.json "devDependencies": {
"stylelint": "^15.10.1",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-recommended-vue": "^1.4.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-order": "^6.0.3"
} |
.stylelintrc.js |
Basic Info
Extra info
D:\vue3Project\sso-arco-web\sso-arco-web\src\assets\style\breakpoint.less: When linting something other than CSS, you should install an appropriate syntax, e.g. "postcss-less", and use the "customSyntax" option
D:\vue3Project\sso-arco-web\sso-arco-web\src\assets\style\global.less: When linting something other than CSS, you should install an appropriate syntax, e.g. "postcss-less", and use the "customSyntax" option
src/assets/style/breakpoint.less
1:1 ✖ Unknown word CssSyntaxError
What is expected?
D:\vue3Project\sso-arco-web\sso-arco-web\src\assets\style\breakpoint.less: When linting something other than CSS, you should install an appropriate syntax, e.g. "postcss-less", and use the "customSyntax" option
D:\vue3Project\sso-arco-web\sso-arco-web\src\assets\style\global.less: When linting something other than CSS, you should install an appropriate syntax, e.g. "postcss-less", and use the "customSyntax" option
src/assets/style/breakpoint.less
1:1 ✖ Unknown word CssSyntaxError
The text was updated successfully, but these errors were encountered: