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

Add ability to configure via dot file .graphql-schema-linter #16

Closed
cjoudrey opened this issue Aug 6, 2017 · 5 comments
Closed

Add ability to configure via dot file .graphql-schema-linter #16

cjoudrey opened this issue Aug 6, 2017 · 5 comments

Comments

@cjoudrey
Copy link
Owner

cjoudrey commented Aug 6, 2017

Rather than have to always configure the linter via command line options, it could be useful to have a dot file at the root of a project to configure what rules should be used.

@goldcaddy77
Copy link
Contributor

Per our convos, we should also consider a package.json config key to avoid cluttering the project's root folder.

@cjoudrey
Copy link
Owner Author

cjoudrey commented Aug 7, 2017

I wasn't aware this was something people were doing now. I wouldn't mind support that too if it's a convention people have been adopting.

@goldcaddy77
Copy link
Contributor

There have been a lot of discussions lately, especially on the prettier project:

A number of projects have started using cosmiconfig project to do the config management.

@cjoudrey
Copy link
Owner Author

cjoudrey commented Aug 7, 2017

TIL -- Thanks for sharing those links @goldcaddy77. I wouldn't mind using cosmicconfig.

I think we should support .graphqlconfig too as per #1.

@cjoudrey
Copy link
Owner Author

This was fixed by #26

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

No branches or pull requests

2 participants