@@ -2,6 +2,8 @@ import {type RuleOutcome} from '@commitlint/types';
22import test from 'ava' ;
33import load19x from '@commitlint/load-19.x' ;
44import lint19x from '@commitlint/lint-19.x' ;
5+ import load20x from '@commitlint/load-20.x' ;
6+ import lint20x from '@commitlint/lint-20.x' ;
57import { rules } from './rules.js' ;
68import * as plugin from './index.js' ;
79
@@ -12,6 +14,7 @@ test('exports rules', (t) => {
1214/* eslint-disable @typescript-eslint/naming-convention */
1315const versions = {
1416 '19.x' : { load : load19x , lint : lint19x } ,
17+ '20.x' : { load : load20x , lint : lint20x } ,
1518} as const ;
1619/* eslint-enable @typescript-eslint/naming-convention */
1720
@@ -32,6 +35,7 @@ const loadPlugin = test.macro<[keyof typeof versions]>({
3235} ) ;
3336
3437test ( loadPlugin , '19.x' ) ;
38+ test ( loadPlugin , '20.x' ) ;
3539
3640const lintUsingPluginRules = test . macro < [ keyof typeof versions ] > ( {
3741 async exec ( t , version ) {
@@ -77,3 +81,4 @@ const lintUsingPluginRules = test.macro<[keyof typeof versions]>({
7781} ) ;
7882
7983test ( lintUsingPluginRules , '19.x' ) ;
84+ test ( lintUsingPluginRules , '20.x' ) ;
0 commit comments