Kurt Mueller
Kurt Mueller

Reputation: 3224

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?

Upvotes: 0

Views: 977

Answers (1)

Kurt Mueller
Kurt Mueller

Reputation: 3224

As it turns out, I was following reek's configuration for version 5 but only had version 4 installed on my system.

Upvotes: 0

Related Questions