Skip to content
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

Allow sharing of .lintr files #238

Closed
dfrankow opened this issue May 10, 2017 · 1 comment
Closed

Allow sharing of .lintr files #238

dfrankow opened this issue May 10, 2017 · 1 comment
Labels
feature a feature request or enhancement

Comments

@dfrankow
Copy link

Thanks again for your work on lintr.

I have several projects in the same repo, and I want them to share the same .lintr configuration. Right now, I'm copying the .lintr files around, and it's unsatisfying.

All my projects are in the same directory. It would be enough for lintr to go up the tree seeking a .lintr file.

If you approve of that solution, I might try a pull request. I can see the file: https://github.com/jimhester/lintr/blob/5485cd14a13b7bd50733d9f9101a4a791c8a44e4/R/settings.R#L15.

@jimhester
Copy link
Member

Yeah that sounds fine, just be sure the search starts at the project directory rather than the working directory.

@russHyde russHyde added the feature a feature request or enhancement label Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

3 participants