We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rubocop beautification doesn't work. I can see rubocop linters errors in the editor. If I run rubocop from the command line, it fixes all the errors.
This is what the code looked like before:
class Calendar < ActiveRecord::Base has_many :users, through: :events, source: :eventable, source_type: 'User' validates :name, presence: true end
The beautified code should have looked like this:
The beautified code actually looked like this:
Atom Beautify: Beautify Editor
Here is a link to the debug.md Gist: Gist
debug.md
Tried to run this in terminal:
/Users/vladimir/.rbenv/shims/rubocop --auto-correct --config /Users/vladimir/projects/breakaleg/.rubocop.yml /var/folders/63/jzj7mjl17fg0hzkm8j8psf700000gq/T/temp11748-19165-1jm0d43.n8h7i4quxr
And it beautifies the tmp file correctly.
Tried to make the .rubocop.yml empty, tried on many different .rb files. Beautification just doesn't work.
I have:
Atom Beautify: Help Debug Editor
The text was updated successfully, but these errors were encountered:
Have the same issue
Sorry, something went wrong.
.rb
rubocop
Duplicate of #1652
#1685 has been merged. Await next release.
Published to v0.30.0
No branches or pull requests
Description
Rubocop beautification doesn't work. I can see rubocop linters errors in the editor. If I run rubocop from the command line, it fixes all the errors.
Input Before Beautification
This is what the code looked like before:
Expected Output
The beautified code should have looked like this:
Actual Output
The beautified code actually looked like this:
Steps to Reproduce
Atom Beautify: Beautify Editor
Debug
Here is a link to the
debug.md
Gist: GistTried to run this in terminal:
And it beautifies the tmp file correctly.
Tried to make the .rubocop.yml empty, tried on many different .rb files. Beautification just doesn't work.
Checklist
I have:
so I know this is not a duplicate issue
Atom Beautify: Help Debug Editor
command in Atom and added link fordebug.md
Gist to this issueThe text was updated successfully, but these errors were encountered: