From 2aa7169cc204f9299986c05bb45bda5ec6c2e8db Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Wed, 24 Jul 2024 22:05:56 +0800 Subject: [PATCH] feat: switch default `typescript` and `flat/typescript` configs to use the 2025 version (#34) * feat: switch default `typescript` and `flat/typescript` configs to use the 2025 version; fixes #33 --------- Co-authored-by: Keith Cirkel --- lib/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/index.js b/lib/index.js index 27000e3..b8f10c7 100644 --- a/lib/index.js +++ b/lib/index.js @@ -277,10 +277,10 @@ module.exports.configs["flat/recommended"] = { }; module.exports.configs.typescript = { - extends: ["plugin:escompat/typescript-2016"], + extends: ["plugin:escompat/typescript-2025"], }; module.exports.configs['flat/typescript'] = flatTypeScriptConfigs[ - 'typescript-2016' + 'typescript-2025' ]; if (require.main === module) {