【问题标题】:any tools to automatically fix the complaints of scss-lint?有什么工具可以自动修复 scss-lint 的投诉?
【发布时间】:2016-10-11 08:33:21
【问题描述】:

我使用 scss-lint gem,只是重新排序和嵌套了我所有的 scss 文件,以解决 linter 的抱怨。

很多繁琐的工作应该是自动化的,但经过一段时间的搜索,我没有找到任何工具可以自动解决 linter 的订单。

难道没有像 fixjsstyle 这样的工具可以自动修复 gjslint 检测到的样式问题,但针对 scss?

【问题讨论】:

    标签: sass scss-lint


    【解决方案1】:

    是的,https://github.com/srowhani/sass-lint-auto-fix 刚刚发布。

    它解决了 一些(请贡献!)您在 .sass-lint.yml.sasslintrc 中设置的 sass-lint 规则:

    【讨论】:

      【解决方案2】:

      没有,但 sass 团队是 working on it

      【讨论】:

        猜你喜欢
        • 2011-11-25
        • 2012-11-18
        • 2011-01-25
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2019-09-25
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多