-
Notifications
You must be signed in to change notification settings - Fork 286
Received invalid JSON from rubocop #474
Comments
Thanks for the report. Looks like there are a number of issues opened with Rubocop and Atom already. I’ll take a look at their suggestions tomorrow. |
I think this can be fixed by modifying your code instead of rubocop write rubocop-performance in package.json and other things you tell the extension about rubocop or you can install older versions of rubocop where the cops isn't removed. |
Answer to similar issue: rubocop/rubocop#6910 (comment) |
RuboCop is saying to basically ignore anything on I've already fixed this in my local branch. Unfortunately, my local test environment is running into the issue with #470 so that's what I'm poking at now. In the mean time, the solution is to either upgrade or downgrade RuboCop as the warning only existed in 0.67.x |
Maybe issue #470 isn't related to the extension but to rubocop. |
I have a similar issue, currently. The rubocop lint is failing because of a warning that rubocop (the CLI) is creating. All of the mentioned issues have in common, that output to STDERR is created and this results in @wingrunr21 is it possible to publish your local branch, so that somebody with a working local setup can support you? |
Your environment
vscode-ruby
version: 0.22.3Expected behavior
Rubocop warning will appear within the problems console.
Actual behavior
Rubocop is returning invalid json.
This and the next section should include screenshots, code samples, console output, etc. The more information we have to reproduce the better!
Rubocop version 0.67.2 returns a warning before the json response
[Warn] Performance Cops will be removed from RuboCop 0.68. Use rubocop-performance gem instead.
which seems to be breaking the Rubocop abilities within this extension.The text was updated successfully, but these errors were encountered: