Using Reek Ruby gem: a tool that examines Ruby classes, modules and methods.
∑ ∑ Reports any code SMELLS it detects. ∑ ∑
1 - Linter package. To install Linter: Linter.
2 - Reek gem.
Make ensure that
reek is installed on your system.
== To install
reek, do the following:
gem install reek
Add reek path:
"linter-ruby-reek": executablePath: "/path/to/your/reek/here"
which reekto find the path or run
rbenv which reekfor rbenv users.
reekwill be the default settings.
Add reek configuration path (if it's not default config.reek):
"linter-ruby-reek": configPath: "test.reek"
NOTE - 1:
NOTE - 2:
Thank you! @ahmadSeleem
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.