File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,13 @@ HBuilderX,代码语法校验,需要安装相应插件。
1818| 语言 | 插件名称 | 插件地址 | 插件文档 |
1919| -- | -- | -- | -- |
2020| html | validate-html | [ 下载地址] ( https://ext.dcloud.net.cn/plugin?name=validate-html ) | [ 文档教程] ( /Tutorial/extension/validate-html ) |
21- | css/less/scss | validate-stylelint | [ 下载地址] ( https://ext.dcloud.net.cn/plugin?name=validate-stylelint ) | [ 文档教程] ( /Tutorial/extension/validate-stylelint ) |
21+ | css/less/sass/ scss | validate-stylelint | [ 下载地址] ( https://ext.dcloud.net.cn/plugin?name=validate-stylelint ) | [ 文档教程] ( /Tutorial/extension/validate-stylelint ) |
2222| js | eslint-js | [ 下载地址] ( https://ext.dcloud.net.cn/plugin?name=eslint-js ) | [ 文档教程] ( /Tutorial/extension/eslint-js ) |
2323| vue | eslint-vue | [ 下载地址] ( https://ext.dcloud.net.cn/plugin?name=eslint-vue ) | [ 文档教程] ( /Tutorial/extension/eslint-vue ) |
2424
25+ ** 注意:**
26+ - scss文件,如果代码使用` @-rules ` 指令,stylelint校验提示` at-rule-no-unknown ` ,请配置` @ ` 相关的规则。[ stylelint@规则参考] ( http://stylelint.cn/user-guide/rules/#at-rule )
27+
2528## 使用方法
2629
2730如下图所示,在对应的文件上,右键菜单,点击【验证本文档语法】,如未出现此菜单,请先安装相关插件。
You can’t perform that action at this time.
0 commit comments