Eslint- VS 代码。创建和扩展自定义规则
Eslint- VS Code. Creating and extending custom rules
我正在使用启用了 eslint 的 VS Code。在我的大部分代码中,我使用
等字符串
var temp = "Whosebug";
var other=temp+" javascript";
我需要 es-lint 中的自动修复选项,以便它在 VS Code 中包含字符串的行的行尾添加一个(静态)注释。像这样
var temp = "Whosebug"; //Custom comment
var other=temp+" javascript"; //Custom comment
有什么办法吗?
您应该在问题部分提交关于 Visual Studio 代码 或其 扩展 的问题或功能请求他们各自的 GitHub 频道。如果您想要 VSCode 中的所需功能,请继续在以下 GitHub 问题页面中使用 功能请求 label/tag 提交问题. (或者只是特定的扩展'GitHub)
我正在使用启用了 eslint 的 VS Code。在我的大部分代码中,我使用
等字符串var temp = "Whosebug";
var other=temp+" javascript";
我需要 es-lint 中的自动修复选项,以便它在 VS Code 中包含字符串的行的行尾添加一个(静态)注释。像这样
var temp = "Whosebug"; //Custom comment
var other=temp+" javascript"; //Custom comment
有什么办法吗?
您应该在问题部分提交关于 Visual Studio 代码 或其 扩展 的问题或功能请求他们各自的 GitHub 频道。如果您想要 VSCode 中的所需功能,请继续在以下 GitHub 问题页面中使用 功能请求 label/tag 提交问题. (或者只是特定的扩展'GitHub)