Skip to content

Usability Enhancement - Add preferences file for simplified configuration #64

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

Closed
IAmATeaPot418 opened this issue Nov 11, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@IAmATeaPot418
Copy link

When passing configurations frequently it can be repetitive for a user to put the --config flag on every command.

A possible suggestion to improve this experience is to have a default hidden file (or just generally a file that is always referenced by default) that passes all configurations that is always respected by kube-linter unless a config file is explicitly passed. This way a user could set their default profile for exactly what they want to check for once and not have to pass the --config parameters each time they want to lint something. This would allow users to set default custom configurations and to turn on and off checks.

As an industry example, in Redis there is a hidden file .redisclirc that allows users to add some preferences to the command line interface. This can be found here: https://github.com/redis/redis/blob/5d0c6b08686d51d552bae7dbb640625cfc1d73db/src/redis-cli.c#L76

@IAmATeaPot418 IAmATeaPot418 added the enhancement New feature or request label Nov 11, 2020
@IAmATeaPot418
Copy link
Author

Closing as a duplicate of #49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant