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 upwards recursive .jsbeautifyrc fallback #37

Closed
Glavin001 opened this issue Jun 28, 2014 · 3 comments
Closed

Support upwards recursive .jsbeautifyrc fallback #37

Glavin001 opened this issue Jun 28, 2014 · 3 comments

Comments

@Glavin001
Copy link
Owner

Instead of finding the closest .jsbeautifyrc file and applying it, we should instead find all .jsbeautifyrc files upwards from the starting directory. Thus, you can apply Project Specific as a fallback for directory specific, and so forth.

@Glavin001 Glavin001 added this to the v1.0.0 milestone Jul 12, 2014
@Glavin001 Glavin001 self-assigned this Jul 12, 2014
@Glavin001
Copy link
Owner Author

Do the same for Editor Config files, see #68.

@Glavin001
Copy link
Owner Author

Priority hierarchy:

  • Atom editor settings
  • Atom Beautify package settings
  • Home directory .jsbeautifyrc file configuration
  • Closest EditorConfig file (see Support editorconfig #68)
  • Project options (from closest .jsbeautifyrc file to the beautified editor's file to root, "/")

@Glavin001
Copy link
Owner Author

Published to v0.9.0

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

1 participant