diff --git a/README.md b/README.md index d305ec5..c31a50b 100644 --- a/README.md +++ b/README.md @@ -134,6 +134,7 @@ export default [ rules: { // Turn off the recommended rules that you don't need. '@typescript-eslint/no-redundant-type-constituents': 'off', + } } ] ``` diff --git a/package.json b/package.json index 82bc619..cfb31df 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vue/eslint-config-typescript", - "version": "14.1.2", + "version": "14.1.3", "description": "ESLint config for TypeScript + Vue.js projects", "main": "./dist/index.mjs", "type": "module", diff --git a/src/index.ts b/src/index.ts index e202374..85f5aaa 100644 --- a/src/index.ts +++ b/src/index.ts @@ -48,7 +48,7 @@ export default function createConfig({ const projectServiceConfigs: ConfigArray = [ { name: 'vue-typescript/skip-type-checking-for-js-files', - files: ['**/*.js', '**/*.jsx'], + files: ['**/*.js', '**/*.jsx', '**/*.cjs', '**/*.mjs'], ...tseslint.configs.disableTypeChecked, }, ]