Solargraph: Integrate with static analysis tools(Reek, rails_best_practices)

Created on 4 Oct 2019  路  5Comments  路  Source: castwide/solargraph

I don't know if this is the right place to ask but, is there any way to use Reek as a reporter?

I tried to configure simply like rubocop but i got a error(Diagnostics reporter reek does not exist).

I don't even know if reek should be a reporter or if i am doing something wrong. I'd like to integrate with other static analysis tools. Is that a thing?

enhancement

Most helpful comment

Plugin support is released in gem v0.39.0, along with the first version of the solargraph-reek plugin.

More information about plugins: https://solargraph.org/guides/plugins

All 5 comments

Solargraph doesn't have a Reek reporter, but it should be possible to make one. It probably wouldn't be very different from the RuboCop reporter.

I'm working on a plugin architecture for extended features. A Reek reporter seems like a good thing to implement as a plugin.

That's awesome to hear it. Waiting forward!

Oh, a plugin would be nice though. What's the progress with this? I'd like to have a reek reporter and would gladly contribute to that. I can wait for a plugin system if it comes within the next couple of months, though.

@Morozzzko As mentioned in #307, a plugin system is being introduced in v0.39.0. The current iteration is in the v0.39 branch.

Plugin support is released in gem v0.39.0, along with the first version of the solargraph-reek plugin.

More information about plugins: https://solargraph.org/guides/plugins

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tylerlu94 picture tylerlu94  路  5Comments

PyvesB picture PyvesB  路  4Comments

castwide picture castwide  路  3Comments

gencer picture gencer  路  3Comments

cuongn265 picture cuongn265  路  3Comments