Skip to content

Commit 50daeb3

Browse files
fix(import/no-extraneous-dependencies): support cts and mts extension
1 parent 1e6270b commit 50daeb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plugins/import.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ export const settings: Linter.Config = {
6262
{
6363
bundledDependencies: false,
6464
devDependencies: [
65-
"*.{js,cjs,mjs,ts,jsx,tsx}",
65+
"*.{js,cjs,mjs,ts,cts,mts,jsx,tsx}",
6666
"scripts/**",
6767
"spec/**",
6868
"test/**",
6969
"tests/**",
7070
"**/__mocks__/**",
7171
"**/__tests__/**",
72-
"**/*{.,_}{test,spec}.{js,cjs,mjs,ts,jsx,tsx}",
72+
"**/*{.,_}{test,spec}.{js,cjs,mjs,ts,cts,mts,jsx,tsx}",
7373
"**/Gruntfile{,.{js,cjs,mjs,ts}}",
7474
"**/gulpfile.{js,cjs,mjs,ts}",
7575
"**/gulpfile.*.{js,cjs,mjs,ts}",

0 commit comments

Comments
 (0)