Skip to content

Conversation

@theckman
Copy link
Contributor

This change introduces the ability to use the tilde (~) character in your
-c/--config flag value to expand your home directory. If invoking this via the
command line with --config ~/.golangci-lint.yaml, the user's shell expands the
~ to the home directory. However, if something is invoking the program for
you (like an editor) it may not do the expansion.

Fixes #289

Signed-off-by: Tim Heckman t@heckman.io

Thank you for the pull request!

Please make sure you didn't directly change README.md: it should be changed only by changing README.tmpl.md and running make readme.

@CLAassistant
Copy link

CLAassistant commented Nov 14, 2018

CLA assistant check
All committers have signed the CLA.

This change introduces the ability to use the tilde (`~`) character in your
`-c/--config` flag value to expand your home directory. If invoking this via the
command line with `--config ~/.golangci-lint.yaml`, the user's shell expands the
`~` to the home directory. However, if something is invoking the program for
you (like an editor) it may not do the expansion.

Fixes golangci#289

Signed-off-by: Tim Heckman <t@heckman.io>
@jirfag
Copy link
Contributor

jirfag commented Nov 14, 2018

thank you!

@jirfag jirfag merged commit cb5d1da into golangci:master Nov 14, 2018
@theckman
Copy link
Contributor Author

@jirfag of course; and thank you for such a quick review/merge. 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

golangci-lint should expand ~ to the home directory of the user

4 participants