🌐 AI搜索 & 代理 主页
Skip to content

Commit 36e7e58

Browse files
mbrevdaokonetiiroj
authored
fix: add support for .cjs configs (#909)
Co-authored-by: Andrey Okonetchnikov <okonet@users.noreply.github.com> Co-authored-by: Iiro Jäppinen <iiro@jappinen.fi>
1 parent 67a4d06 commit 36e7e58

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ function loadConfig(configPath) {
3131
'.lintstagedrc.yaml',
3232
'.lintstagedrc.yml',
3333
'.lintstagedrc.js',
34+
'.lintstagedrc.cjs',
3435
'lint-staged.config.js',
36+
'lint-staged.config.cjs',
3537
],
3638
})
3739

0 commit comments

Comments
 (0)