vscode-ruby version: 0.18.0.rubocop.yml like this should work:
AllCops:
TargetRubyVersion: 2.5
Exclude:
- 'db/**'
- '**/Gemfile'
- 'Gemfile.lock'
db/schema.rb, Gemfile and Gemfile.lock being rubocopped.
Via rubocop db it works. So, it's a bug?
Any update here? Would love to get this issue resolved.
I have db/schema.rb excluded in my .rubocop.yml but VSCode still tries to lint it. My schema file is huge (10k lines), and doesn't conform to our style guide, so there's tons of errors. Just opening the file cranks my CPU usage up to 100% for that process, and I have to kill it manually.
I'm just moving over from Atom and noticed this. The readme says the includes and excludes will not work in any of the linters which doesn't sound good. Same thing is happening with Reek where I've disabled it for a folder and it still runs.
This will be fixed via #405
Most helpful comment
405 has been merged