mirror of
https://github.com/scratchfoundation/eslint-config-scratch.git
synced 2025-08-28 22:40:13 -04:00
chore: migrate commitlint config to MJS for wagoid/commitlint-gha
Some checks failed
Build eslint-config-scratch / build-eslint (push) Has been cancelled
Some checks failed
Build eslint-config-scratch / build-eslint (push) Has been cancelled
This commit is contained in:
parent
5773ddf841
commit
eb6f0b1726
4 changed files with 12 additions and 5 deletions
|
@ -1,4 +0,0 @@
|
||||||
module.exports = {
|
|
||||||
extends: ['@commitlint/config-conventional'],
|
|
||||||
ignores: [message => message.startsWith('chore(release):')]
|
|
||||||
};
|
|
10
commitlint.config.mjs
Normal file
10
commitlint.config.mjs
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
// Do not rename, migrate, or convert this file without checking the `wagoid/commitlint-github-action` documentation!
|
||||||
|
// `commitlint.config.mjs` is the only supported config file name as of `wagoid/commitlint-github-action@v6`
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @type {import('@commitlint/types').UserConfig}
|
||||||
|
*/
|
||||||
|
export default {
|
||||||
|
extends: ['@commitlint/config-conventional'],
|
||||||
|
ignores: [message => message.startsWith('chore(release):')]
|
||||||
|
};
|
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -12,6 +12,7 @@
|
||||||
"@babel/eslint-parser": "7.26.5",
|
"@babel/eslint-parser": "7.26.5",
|
||||||
"@commitlint/cli": "19.6.1",
|
"@commitlint/cli": "19.6.1",
|
||||||
"@commitlint/config-conventional": "19.6.0",
|
"@commitlint/config-conventional": "19.6.0",
|
||||||
|
"@commitlint/types": "19.5.0",
|
||||||
"eslint": "8.57.1",
|
"eslint": "8.57.1",
|
||||||
"husky": "8.0.3",
|
"husky": "8.0.3",
|
||||||
"scratch-semantic-release-config": "3.0.0",
|
"scratch-semantic-release-config": "3.0.0",
|
||||||
|
@ -689,7 +690,6 @@
|
||||||
"resolved": "https://registry.npmjs.org/@commitlint/types/-/types-19.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/@commitlint/types/-/types-19.5.0.tgz",
|
||||||
"integrity": "sha512-DSHae2obMSMkAtTBSOulg5X7/z+rGLxcXQIkg3OmWvY6wifojge5uVMydfhUvs7yQj+V7jNmRZ2Xzl8GJyqRgg==",
|
"integrity": "sha512-DSHae2obMSMkAtTBSOulg5X7/z+rGLxcXQIkg3OmWvY6wifojge5uVMydfhUvs7yQj+V7jNmRZ2Xzl8GJyqRgg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/conventional-commits-parser": "^5.0.0",
|
"@types/conventional-commits-parser": "^5.0.0",
|
||||||
"chalk": "^5.3.0"
|
"chalk": "^5.3.0"
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
"@babel/eslint-parser": "7.26.5",
|
"@babel/eslint-parser": "7.26.5",
|
||||||
"@commitlint/cli": "19.6.1",
|
"@commitlint/cli": "19.6.1",
|
||||||
"@commitlint/config-conventional": "19.6.0",
|
"@commitlint/config-conventional": "19.6.0",
|
||||||
|
"@commitlint/types": "19.5.0",
|
||||||
"eslint": "8.57.1",
|
"eslint": "8.57.1",
|
||||||
"husky": "8.0.3",
|
"husky": "8.0.3",
|
||||||
"scratch-semantic-release-config": "3.0.0",
|
"scratch-semantic-release-config": "3.0.0",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue