Skip to content

Commit 10b5ddb

Browse files
authored
Support CSpell TS configurations (#1336)
1 parent b88336b commit 10b5ddb

File tree

1 file changed

+1
-1
lines changed
  • packages/knip/src/plugins/cspell

1 file changed

+1
-1
lines changed

packages/knip/src/plugins/cspell/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const enablers = ['cspell'];
1212
const isEnabled: IsPluginEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);
1313

1414
const config = [
15-
'cspell.config.{js,cjs,json,yaml,yml}',
15+
'cspell.config.{js,cjs,mjs,ts,mts,json,yaml,yml}',
1616
'cspell.{json,yaml,yml}',
1717
'.c{s,S}pell.json',
1818
'c{s,S}pell.json',

0 commit comments

Comments
 (0)