File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
@commitlint/load/src/utils Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -29,10 +29,13 @@ export async function loadConfig(
2929
3030 // files supported by TypescriptLoader
3131 `.${ moduleName } rc.ts` ,
32+ `.${ moduleName } rc.cts` ,
3233 `${ moduleName } .config.ts` ,
34+ `${ moduleName } .config.cts` ,
3335 ] ,
3436 loaders : {
3537 '.ts' : TypeScriptLoader ( ) ,
38+ '.cts' : TypeScriptLoader ( ) ,
3639 } ,
3740 } ) ;
3841
Original file line number Diff line number Diff line change @@ -135,9 +135,11 @@ Check the [husky documentation](https://typicode.github.io/husky/#/?id=manual) o
135135 - ` .commitlintrc.js `
136136 - ` .commitlintrc.cjs `
137137 - ` .commitlintrc.ts `
138+ - ` .commitlintrc.cts `
138139 - ` commitlint.config.js `
139140 - ` commitlint.config.cjs `
140141 - ` commitlint.config.ts `
142+ - ` commitlint.config.cts `
141143 - ` commitlint ` field in ` package.json `
142144- Packages: [ cli] ( ./@commitlint/cli ) , [ core] ( ./@commitlint/core )
143145- See [ Rules] ( ./docs/reference-rules.md ) for a complete list of possible rules
You can’t perform that action at this time.
0 commit comments