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 to configure commintlint in package.json or with json/yaml file #73

Closed
pvdlg opened this issue Sep 16, 2017 · 2 comments
Closed

Comments

@pvdlg
Copy link

pvdlg commented Sep 16, 2017

It would be convenient to allow commitlint to be configured within package.json or with a json or yaml file, similarly to eslint, prettier, stylelint etc...

cosmiconfig allow to do that pretty easily (as a replacement of rc).

Would you be open to such PR ?

@calebeby
Copy link

Haha I was just about to open this same issue

@marionebl
Copy link
Contributor

Sure, some help with this would be awesome.

bpedersen pushed a commit to bpedersen/commitlint that referenced this issue Oct 15, 2019
…gelog#73)

A login forces react to reload the list of available packages (by changing the state).
However the state (which triggers react to refresh) is set before storing the login token resulting in fetching (XHR GET) only the public packages as the token is not yet available in the GET request.

Fixed by setting the storage items ('username' and 'token') before this.setLoggedUser().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants