-
Notifications
You must be signed in to change notification settings - Fork 51
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
ci: rename commitlint.config.js to commitlint.config.mjs #482
ci: rename commitlint.config.js to commitlint.config.mjs #482
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jan--f The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
And update commitlint action to v6. This fixes commitlint failures caused by wagoid/commitlint-github-action#763. Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
bdaf30a
to
9d2f6eb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We would need to change module.exports to export default Configuration;
in here to comply with the ES module syntax.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like so?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, I think that should make it.
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
/lgtm |
@@ -9,4 +9,4 @@ const Configuration = { | |||
ignores: [(msg) => /Signed-off-by: dependabot\[bot]/m.test(msg)], | |||
}; | |||
|
|||
module.exports = Configuration; | |||
export default Configuration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
export default Configuration | |
export default Configuration; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's keep the end trailing even if it does seem that it works without it.
This fixes commitlint failures caused by
wagoid/commitlint-github-action#763.