From 4cbb1baea2153aea1f8c1a2224618e355d774590 Mon Sep 17 00:00:00 2001 From: henribru <6639509+henribru@users.noreply.github.com> Date: Wed, 23 Oct 2024 07:56:31 +0200 Subject: [PATCH 1/3] docs: add missing curly bracket in example config --- README.md | 1 + 1 file changed, 1 insertion(+) 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', + } } ] ``` From a6cb23ddb3a296d385d95c319dc12a3f3a6215d6 Mon Sep 17 00:00:00 2001 From: henribru <6639509+henribru@users.noreply.github.com> Date: Wed, 23 Oct 2024 08:18:57 +0200 Subject: [PATCH 2/3] fix: skip typechecking cjs and mjs files --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }, ] From 3f8bf2e228b7376bf43d7d8f8b3f120b7d52ecdd Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Wed, 23 Oct 2024 15:22:16 +0800 Subject: [PATCH 3/3] 14.1.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",