Skip to content

Commit

Permalink
fix(commitlint): adhere to commitlint v6 action (#19)
Browse files Browse the repository at this point in the history
## What this PR does / why we need it:
<!--
What code changes are made?
What problem does this PR addresses, or what feature this PR adds?
-->
Commitlint action (`v6`) requires config to be in `.mjs` format.

## Which issue(s) this PR resolves:
<!--
Usage: `Resolves #<issue number>`, or `Resolves <link to the issue>`.
If PR is about `failing-tests`, please post the related tests in a
comment and do not use `Resolves`
-->
N/A

## Special notes for your reviewer:
<!-- Do you think reviewers should focus on any particular parts of
code? -->
N/A

## Additional documentation e.g., enhancement proposals, usage docs,
etc.:
<!-- This section can be blank if this pull request does not require a
release note. -->
<!-- REPLACE WITH CONTENT -->

---------

Signed-off-by: Mateusz Urbanek <mateusz.urbanek.98@gmail.com>
  • Loading branch information
shanduur committed Apr 13, 2024
1 parent cabaf8a commit d631cb7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
12 changes: 0 additions & 12 deletions .commitlintrc.js

This file was deleted.

6 changes: 6 additions & 0 deletions .commitlintrc.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export default {
extends: ['@commitlint/config-conventional'],
rules: {
'body-max-line-length': [0],
},
}
2 changes: 1 addition & 1 deletion .github/workflows/linters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ jobs:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v5
with:
configFile: .commitlintrc.js
configFile: .commitlintrc.mjs
token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"automerge": true,
"extends": [ "config:recommended" ],
"labels": [ "area/dependency" ],
"pre-commit": {
"enabled": true
},
"vulnerabilityAlerts": {
"enabled": true
}
Expand Down

0 comments on commit d631cb7

Please sign in to comment.