-
-
Notifications
You must be signed in to change notification settings - Fork 292
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
Global configuration #250
Comments
I would really like to see this too, |
@goluis You could make a shareable config with your overrides. |
@sindresorhus, would still need to add it to |
I was referring to the 30% comment. It would at least reduce it to a couple of lines. |
I'm open to a global XO config if someone does a good pull request with docs and tests.
|
Hmm, actually, would probably be better to just resolve a globally installed sharable config and use that. Then it's exactly like having a local shareable config but falls back to the global one if a local one is not found. So to have a global fallback, you would just have to do |
Closing as per last comment (an because it's a little old and #448 would be a more explicit solution) |
My defaults are very different than the normal xo defaults. Sometimes I mock up some JavaScript in a file in its own folder and would prefer to have a
~/.xoconfig
with default options/overrides. Is this possible? I see there's a~/.xo-cache
but is there a~/.xorc
or something similar?The text was updated successfully, but these errors were encountered: