Skip to content
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

Support editorconfig #68

Closed
db6edr opened this issue Aug 21, 2014 · 4 comments
Closed

Support editorconfig #68

db6edr opened this issue Aug 21, 2014 · 4 comments

Comments

@db6edr
Copy link
Contributor

db6edr commented Aug 21, 2014

Support .editorconfig to auto-configure atom-beautify if there is one in the current project

@Glavin001
Copy link
Owner

Use https://www.npmjs.org/package/editorconfig to parse.

Will traverse through project directories upwards from current working directory, similar to how .jsbeautifyrc is currently implemented.

Glavin001 added a commit that referenced this issue Sep 9, 2014
Priority hierarchy:
- Atom editor settings
- Atom Beautify package settings
- Home directory .jsbeautifyrc file configuration
- Closest EditorConfig file (see #68)
- Project options (from closest .jsbeautifyrc file to the beautified
  editor's file to root, "/")
@Glavin001
Copy link
Owner

@Glavin001
Copy link
Owner

Published to v0.10.0

Let me know if you have any problems!

@Glavin001
Copy link
Owner

Error when beautifying file that is untitled (not yet saved to file path).

image

@Glavin001 Glavin001 reopened this Sep 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants