Skip to content

Commit a6cb23d

Browse files
henribruhaoqunjiang
authored andcommitted
fix: skip typechecking cjs and mjs files
1 parent 4cbb1ba commit a6cb23d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default function createConfig({
4848
const projectServiceConfigs: ConfigArray = [
4949
{
5050
name: 'vue-typescript/skip-type-checking-for-js-files',
51-
files: ['**/*.js', '**/*.jsx'],
51+
files: ['**/*.js', '**/*.jsx', '**/*.cjs', '**/*.mjs'],
5252
...tseslint.configs.disableTypeChecked,
5353
},
5454
]

0 commit comments

Comments
 (0)