【问题标题】:Rails: require JS code to pass the Closure Linter or JSHintRails:要求 JS 代码通过 Closure Linter 或 JSHint
【发布时间】:2014-01-29 01:23:59
【问题描述】:

使用 Ruby on Rails,是否可以设置需要 JS 代码通过 Closure Linter 或 JSHint 的配置?

您知道当您的 SCSS 中出现语法错误时,dev 中会出现错误。我想要求与 JSHint 类似的东西。

【问题讨论】:

标签: ruby-on-rails ruby-on-rails-3 asset-pipeline google-closure-compiler jshint


【解决方案1】:

你能设置一个IDE来触发JShint检查器吗,看看http://jshint.com/install/

【讨论】:

    猜你喜欢
    • 2015-06-25
    • 1970-01-01
    • 2017-04-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-02-13
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多