简体   繁体   中英

Correctly configuring rubycritic and reek to ignore InstanceVariableAssumption

I have a .reek.yml file in the root of my rails app with the following content:

directories:
  "app/controllers":
    InstanceVariableAssumption:
      enabled: false

However, when I run the following command, rubycritic app lib , it doesn't seem to respect my reek file. Does anybody know how to correctly configure this file and/or get rubycritic to respect it?

事实证明,我遵循的是reek的版本5配置,但系统上仅安装了版本4。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM