Skip to content

Commit 5f11f54

Browse files
authored
build: migrate commitlint config to typescript (#539)
* git mv commitlint * build: migrate commitlint config to typescript
1 parent 933664c commit 5f11f54

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

commitlint.config.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

commitlint.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import type { UserConfig } from '@commitlint/types';
2+
3+
const config: UserConfig = {
4+
extends: ['@commitlint/config-conventional'],
5+
};
6+
7+
export default config;

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@
4646
"estraverse": "^5.3.0"
4747
},
4848
"devDependencies": {
49-
"@commitlint/cli": "^19.6.0",
50-
"@commitlint/config-conventional": "^19.6.0",
49+
"@commitlint/cli": "^19.8.1",
50+
"@commitlint/config-conventional": "^19.8.1",
51+
"@commitlint/types": "^19.8.1",
5152
"@eslint-community/eslint-plugin-eslint-comments": "^4.3.0",
5253
"@eslint/eslintrc": "^3.0.2",
5354
"@eslint/js": "^9.31.0",

0 commit comments

Comments
 (0)