Using Reek Ruby gem: a tool that examines Ruby classes, modules and methods.
∑ ∑ Reports any code SMELLS it detects. ∑ ∑
We use The interface of the beautifull Linter to prived the neet features of Reek.
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:
or
"linter-ruby-reek":
executablePath: "/path/to/your/reek/here"
which reek
to find the path or run rbenv which reek
for rbenv users.reek
will be the default settings.Add reek configuration path (if it's not default config.reek):
or
"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.