File tree 2 files changed +5
-0
lines changed
@commitlint/load/src/utils
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(
29
29
30
30
// files supported by TypescriptLoader
31
31
`.${ moduleName } rc.ts` ,
32
+ `.${ moduleName } rc.cts` ,
32
33
`${ moduleName } .config.ts` ,
34
+ `${ moduleName } .config.cts` ,
33
35
] ,
34
36
loaders : {
35
37
'.ts' : TypeScriptLoader ( ) ,
38
+ '.cts' : TypeScriptLoader ( ) ,
36
39
} ,
37
40
} ) ;
38
41
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
135
135
- ` .commitlintrc.js `
136
136
- ` .commitlintrc.cjs `
137
137
- ` .commitlintrc.ts `
138
+ - ` .commitlintrc.cts `
138
139
- ` commitlint.config.js `
139
140
- ` commitlint.config.cjs `
140
141
- ` commitlint.config.ts `
142
+ - ` commitlint.config.cts `
141
143
- ` commitlint ` field in ` package.json `
142
144
- Packages: [ cli] ( ./@commitlint/cli ) , [ core] ( ./@commitlint/core )
143
145
- 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