Skip to content

Commit

Permalink
feat: test
Browse files Browse the repository at this point in the history
  • Loading branch information
gipo355 committed May 28, 2024
1 parent a04eb56 commit bb90f60
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .commitlintrc.js → commitlint.config.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable unicorn/prefer-module */
/* eslint-disable no-magic-numbers */
// .commitlintrc.js
const fs = require('node:fs');
Expand Down Expand Up @@ -44,7 +43,6 @@ const definedScopes = [
// .commitlintrc.js
/** @type {import('cz-git').UserConfig} */
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
// @see: https://commitlint.js.org/#/reference-rules
'scope-enum': [2, 'always', [...definedScopes]],
Expand Down
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
"path": "node_modules/cz-git"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"cpu": [
"x64"
],
Expand Down

0 comments on commit bb90f60

Please sign in to comment.