【问题标题】:How to implement linting feature in code-mirror for a custom mode如何在自定义模式的代码镜像中实现 linting 功能
【发布时间】:2022-07-19 16:26:20
【问题描述】:

我使用了 ngx-codemirror 并将模式设置为 rego。突出显示工作正常。我应该如何为这种模式实现 lint 功能。

【问题讨论】:

    标签: lint codemirror mode rego ngx-codemirror


    【解决方案1】:

    我不知道如何为 CodeMirror 模块实现 linting,但如果你想使用它,Styra GitHub 上提供了 Rego 模块的源代码。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-02-22
      • 2015-02-01
      • 2011-09-15
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多