Skip to content

Commit d633a66

Browse files
committed
feat: add support for commitlint v18
Closes #213.
1 parent 6a67287 commit d633a66

File tree

4 files changed

+216
-3
lines changed

4 files changed

+216
-3
lines changed

Diff for: .github/renovate.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{
66
"description": "Disable updates for aliased commitlint packages with a final version",
77
"matchPackagePatterns": [
8-
"^@commitlint/(lint|load)\\-(9|10|11|12|13|14|15|16)\\.x"
8+
"^@commitlint/(lint|load)\\-(9|10|11|12|13|14|15|16|17)\\.x"
99
],
1010
"matchDepTypes": ["devDependencies"],
1111
"enabled": false

Diff for: package-lock.json

+210-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@
202202
"@commitlint/lint-15.x": "npm:@commitlint/[email protected]",
203203
"@commitlint/lint-16.x": "npm:@commitlint/[email protected]",
204204
"@commitlint/lint-17.x": "npm:@commitlint/[email protected]",
205+
"@commitlint/lint-18.x": "npm:@commitlint/[email protected]",
205206
"@commitlint/lint-9.x": "npm:@commitlint/[email protected]",
206207
"@commitlint/load-10.x": "npm:@commitlint/[email protected]",
207208
"@commitlint/load-11.x": "npm:@commitlint/[email protected]",
@@ -211,6 +212,7 @@
211212
"@commitlint/load-15.x": "npm:@commitlint/[email protected]",
212213
"@commitlint/load-16.x": "npm:@commitlint/[email protected]",
213214
"@commitlint/load-17.x": "npm:@commitlint/[email protected]",
215+
"@commitlint/load-18.x": "npm:@commitlint/[email protected]",
214216
"@commitlint/load-9.x": "npm:@commitlint/[email protected]",
215217
"@commitlint/rules": "18.1.0",
216218
"@commitlint/types": "18.1.0",
@@ -230,7 +232,7 @@
230232
"xo": "0.56.0"
231233
},
232234
"peerDependencies": {
233-
"@commitlint/lint": ">=9.1.2 <18"
235+
"@commitlint/lint": ">=9.1.2 <19"
234236
},
235237
"engines": {
236238
"node": ">=18"

Diff for: src/plugin.test.ts

+2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ test(loadPlugin, '14.x');
3535
test(loadPlugin, '15.x');
3636
test(loadPlugin, '16.x');
3737
test(loadPlugin, '17.x');
38+
test(loadPlugin, '18.x');
3839

3940
const lintUsingPluginRules = test.macro<[string]>({
4041
async exec(t, version) {
@@ -90,3 +91,4 @@ test(lintUsingPluginRules, '14.x');
9091
test(lintUsingPluginRules, '15.x');
9192
test(lintUsingPluginRules, '16.x');
9293
test(lintUsingPluginRules, '17.x');
94+
test(lintUsingPluginRules, '18.x');

0 commit comments

Comments
 (0)