小编Del*_*ely的帖子

如何对 .cshtml 文件进行 lint 处理?

使用 ESLint,可以轻松检查 *.js 文件。使用 html 或 script-tag 之类的插件,在 *.html 文件中的标签内检查 JavaScript 代码也很简单。

但是,当涉及 *.cshtml 文件内的脚本标记时,我陷入困境。

有谁知道如何 lint *.cshtml 文件或推荐不同的 linting 工具?

lint eslint asp.net-core-mvc

6
推荐指数
0
解决办法
958
查看次数

标签 统计

asp.net-core-mvc ×1

eslint ×1

lint ×1