Skip to content

Try to get tokens from package.json if .commitlintrc.json is missing #1

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

Open
lppedd opened this issue Apr 3, 2020 · 4 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@lppedd
Copy link
Owner

lppedd commented Apr 3, 2020

No description provided.

@lppedd lppedd added the enhancement New feature or request label Apr 3, 2020
@lppedd lppedd self-assigned this Apr 3, 2020
@IGassmann
Copy link

Commitlint uses https://github.com/davidtheclark/cosmiconfig. So configuration files such as .commitlintrc.js are also valid. It would be nice to also support them.

@lppedd
Copy link
Owner Author

lppedd commented Apr 20, 2020

@IGassmann hi! Heh, I have no idea if a plugin is able to communicate with a Node module and then retrieve a possbible "result". Natively supporting JS files is impossible since there might be functions.

@IGassmann
Copy link

I understand. That's unfortunate, we use .js config files in our projects including for commitlint.

@lppedd
Copy link
Owner Author

lppedd commented Apr 20, 2020

@IGassmann the idea is good tho, so I'll keep the issue open. I can't give any estimate unfortunately.
Need a pause from all the work I've done on Conventional Commit first 😄

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

2 participants