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
Is your feature request related to a problem? Please describe.
I don’t like to clutter my home directory, and I only synchronize my XDG_CONFIG_HOME.
Describe the solution you'd like
If the file ~/.rubocop.yml is missing, check whether environment variable $XDG_CONFIG_HOME is defined. If yes, then load from $XDG_CONFIG_HOME/rubocop/config.yml; otherwise load from ~/.config/rubocop/config.yml.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!
Is your feature request related to a problem? Please describe.
I don’t like to clutter my home directory, and I only synchronize my
XDG_CONFIG_HOME
.Describe the solution you'd like
If the file
~/.rubocop.yml
is missing, check whether environment variable$XDG_CONFIG_HOME
is defined. If yes, then load from$XDG_CONFIG_HOME/rubocop/config.yml
; otherwise load from~/.config/rubocop/config.yml
.Describe alternatives you've considered
N/A
Additional context
Latest standard specification: https://specifications.freedesktop.org/basedir-spec/basedir-spec-0.8.html
Arch Linux Wiki: https://wiki.archlinux.org/index.php/XDG_Base_Directory
I can try PR if anyone is interested.
The text was updated successfully, but these errors were encountered: