kwerle / vscode_ruby_language_server

MIT License
1 stars 0 forks source link

Rubocop settings #4

Open kwerle opened 4 years ago

kwerle commented 4 years ago

Reza says: I have a problem with the rubicon warnings though. Can it be turned off? Or if not, allow the option to specify a config file to tailor the rubocop warnings?

kwerle commented 4 years ago

Easy workaround: add a .rubocop.yml file to your project that disables everything [you don't want].

Second option: Set the filter in vscode to hide all warnings.

But it would be nice to be able to just turn it off. Or set levels. I do that in Atom...

rezammalik commented 4 years ago

If we could have the ability to turn off rubocop off, that would be nice. Is that something I can do on my end or would that be a change in the extension?

kwerle commented 4 years ago

That'd be a change in the extension. Given that there is some pretty fine grained control over what level of errors you want to see, it is likely that's the only option I'll implement (unlike atom).