-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
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
beautify ruby does not respect my ~/.rubocop.yml #793
Comments
Rubocop from the command line works as expected:
|
I have exactly the same issue. Any plans fixing it? |
The applicable file that needs changing is https://github.com/Glavin001/atom-beautify/blob/master/src/beautifiers/rubocop.coffee |
Hi In order to diagnose it, how can I see any output that Rubocop might make via this plugin? |
@cjbrew : Create a |
@Glavin001 thanks, I've just noticed your reply. I'll try to get you a debug output, if I can still reproduce the issue next week. |
It looks like
I would be happy to review and merge someone's Pull Request implementing this improvement. Let me know if you have any questions! |
so am i ... |
This issue has been automatically marked as stale because it has not had recent activity. If this is still an issue, please add a comment. It will be closed if no further activity occurs. Thank you for your contributions. |
Have the same issue. Any fixes? |
My fix was to switch to VS Code :/ |
Published to v0.32.0 See #1776. |
I have a .rubocop.yml file in my home directory. When I use atom-beautify on a ruby file, it does not use my settings.
E.g. I have it set to prefer double-quoted strings over single-quotes. When I run atom-beautify, it changes all my double-quotes back to single.
Here's the debug output:
Atom Beautify - Debugging information
The following debugging information was generated by
Atom Beautify
onTue Feb 09 2016 15:09:51 GMT-0500 (EST)
.Table Of Contents
Platform: darwin
Versions
Atom Version: 1.4.3
Atom Beautify Version: 0.28.22
Original file to be beautified
Original File Path:
/Users/jemminger/Rails/new_tsig/spec/controllers/campaigns_controller_spec.rb
Original File Grammar: Ruby on Rails
Original File Language: Ruby
Language namespace: ruby
Supported Beautifiers: Rubocop, Ruby Beautify
Selected Beautifier: Rubocop
Original File Contents
Package Settings
The raw package settings options
Beautification options
Editor Options:
Options from Atom Editor settings
Config Options:
Options from Atom Beautify package settings
Home Options:
Options from
/Users/jemminger/.jsbeautifyrc
{ "_default": {} }
EditorConfig Options:
Options from EditorConfig file
{ "_default": {} }
Project Options:
Options from
.jsbeautifyrc
files starting from directory/Users/jemminger/Rails/new_tsig/spec/controllers
and going up to rootPre-Transformed Options:
Combined options before transforming them given a beautifier's specifications
Final Options
Final combined and transformed options that are used
Results
Beautified File Contents:
Original vs. Beautified Diff:
Logs
The text was updated successfully, but these errors were encountered: