Skip to content

Commit

Permalink
feat: switch default typescript and flat/typescript configs to us…
Browse files Browse the repository at this point in the history
…e the 2025 version (#34)

* feat: switch default `typescript` and `flat/typescript` configs to use the 2025 version; fixes #33

---------

Co-authored-by: Keith Cirkel <keithamus@users.noreply.github.com>
  • Loading branch information
brettz9 and keithamus committed Jul 24, 2024
1 parent 23b867e commit 2aa7169
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2aa7169

Please sign in to comment.