【问题标题】:Difference between `nx affected:lint --fix` and `nx format:write``nx 受影响:lint --fix` 和 `nx format:write` 之间的区别
【发布时间】:2020-09-07 03:57:07
【问题描述】:

nx affected:lint --fixnx format:write 有什么区别?

不同的文章似乎确实提到了代码应该用nx format:write命令格式化,但似乎并不完全依赖ESLint规则。

格式化后,我一直遇到 ESLint 错误。

我错过了什么吗?

谢谢

【问题讨论】:

    标签: nrwl-nx nrwl


    【解决方案1】:

    所以nx format:write 使用项目根目录中的更漂亮的配置进行代码格式化。

    nx affected:lint --fix 改为修复掉毛问题。

    【讨论】:

      猜你喜欢
      • 2020-01-23
      • 2021-09-30
      • 1970-01-01
      • 1970-01-01
      • 2020-02-10
      • 2020-10-13
      • 1970-01-01
      • 1970-01-01
      • 2021-06-29
      相关资源
      最近更新 更多