Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>DittoLintNew to Visual Studio Code? Get it now.
DittoLint

DittoLint

liuxiaoli032

|
31 installs
| (1) | Free
ditto规则集插件
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DittoLint README

ditto框架的代码检查工具

检查规则目前集成在插件中,具体检查规则文档详见:https://wiki.lianjia.com/pages/viewpage.action?pageId=808067809

Features

ditto框架代码使用检测

检测时机: 打开文件 修改文件(默认不执行,可配置打开,具体配置参见Extension Settings) 保存文件时触发检测(默认执行,可配置关闭,具体配置参见Extension Settings)

Requirements

Extension Settings

配置项在文件--首选项--设置 用户设置中修改 修改配置后请重启vscode

  • DittoLint.lintOnChange: 修改文件内容时是否进行lint检查,默认false
  • DittoLint.lintOnSave: 保存文件内容时是否进行lint检查,默认true
  • DittoLint.onlyH5: 部分支持H5不支持小程序的规则是否执行,默认false

Known Issues

Release Notes

0.0.1

Initial release of DittoLint

0.0.2

bug修复:无法识别public等类修饰符 .

0.0.3

功能修改:插件配置项减少only H5功能 .

0.0.4

无重要修改.

0.0.5

修改依赖

0.0.9

修复插件依赖问题


Following extension guidelines

Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.

  • Extension Guidelines

Working with Markdown

Note: You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:

  • Split the editor (Cmd+\ on macOS or Ctrl+\ on Windows and Linux)
  • Toggle preview (Shift+CMD+V on macOS or Shift+Ctrl+V on Windows and Linux)
  • Press Ctrl+Space (Windows, Linux) or Cmd+Space (macOS) to see a list of Markdown snippets

For more information

  • Visual Studio Code's Markdown Support
  • Markdown Syntax Reference

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft