Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>vscode-shaun-lintNew to Visual Studio Code? Get it now.
vscode-shaun-lint

vscode-shaun-lint

canye

|
752 installs
| (0) | Free
shaun lint VSCode插件
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

shaun lint的VSCode插件

底层基于@ali/shaun和@ali/shaun-command-lint

JavaScript/Less默认会在修改或者保存文件的时候触发校验,并且高亮显示

Sass/CSS/HTML默认会在保存文件的时候触发校验,并且直接在VSCode输出面板输出结果

安装相关工具

因为插件底层运行的是@ali/shaun和@ali/shaun-command-lint,所以没有安装的话,需要先全局安装

tnpm i -g @ali/shaun @ali/shaun-command-lint

配置项

shaunLint.enable [Boolean] 默认为true,是否开启JavaScript/Less/Sass/CSS/HTML文件的校验
shaunLint.validate [Array] 默认为["es", "less"],检验的语言,取值有es/less/sass/css/html

忽略配置文件

.eslintignore
.lesshintignore
.sasslintignore
.csslintignore
.htmlhintignore
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft