我想关闭特定的 Rubocop 警告:
Assignment Branch Condition size for plot_defaults is too high. [21.05/15]
在注释行的代码中执行此操作的适当语法是什么,例如:
# rubocop: disable <???>
最佳答案
我相信这是 Metrics/AbcSize cop. 的消息
# rubocop:disable Metrics/AbcSize
关于ruby - 如何消除分配分支条件下的 Rubocop 警告?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30174669/