You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to have a default .nitpick.toml configuration somewhere in my home directory, so I have a starting template for new projects.
Suggestion by @ 1kyu in #392 (comment)
Possible solution
Search $HOME/.nitpick.toml
Search $HOME/.config/.nitpick.toml
Search other default directories when in macOS?
What to do if multiple config files are found? Merge them or use the one higher in the tree?
The text was updated successfully, but these errors were encountered:
What to do if multiple config files are found? Merge them or use the one higher in the tree?
If they are merged, it'd be very hard to debug why on some people's machines the behavior is different, though. I've seen this problem in other tools, where for a mysterious reason CI behaves differently from the dev machines. It's exceptionally frustrating to troubleshoot such cases.
If they are merged, it'd be very hard to debug why on some people's machines the behavior is different, though.
I agree.
I actually wanted to use another library to do everything related to style files, to only provide Nitpick with a single TOML file, merged and ready to use.
I created an issue for this: #469
Problem
I want to have a default
.nitpick.toml
configuration somewhere in my home directory, so I have a starting template for new projects.Suggestion by @ 1kyu in #392 (comment)
Possible solution
$HOME/.nitpick.toml
$HOME/.config/.nitpick.toml
The text was updated successfully, but these errors were encountered: