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 would like to propose using the the XDG specification for managing this gem's configuration which is a UNIX standard. Example:
# Global (default)
$HOME/.config/rubycritic/configuration.yml
# Local (alternative per project configuration -- Takes precedence over global configuration)
$HOME/projects/my_example/.config/rubycritic/configuration.yml
This can be easily solved by using the XDG gem as a dependency to this project. Even better, you can use the Runcom gem which is a superset of XDG for allowing users to have either a global and/or local configuration since XDG doesn't support local configurations by default.
Doing this work would resolve the following related issues:
Overview
I would like to propose using the the XDG specification for managing this gem's configuration which is a UNIX standard. Example:
This can be easily solved by using the XDG gem as a dependency to this project. Even better, you can use the Runcom gem which is a superset of XDG for allowing users to have either a global and/or local configuration since XDG doesn't support local configurations by default.
Doing this work would resolve the following related issues:
Screenshots/Screencasts
Here's an example of ruby code used in the Rubysmith project to show how easy it would be to implement this:
💡 Associated source code can be found here.
Desired Behavior
By using Runcom, which is built on top of XDG, you'd get the following enhancements for free:
By doing this work, we'd have a way to remove
.rubycritic.yml
from the root of everyone's projects.The text was updated successfully, but these errors were encountered: