Skip to content

[Bug] webhint incorrectly reports "ES2024" as an invalid 'compilerOptions/target' in tsconfig.json #5992

@hamirmahal

Description

@hamirmahal

🐞 Bug report

Description

The webhint VSCode extension incorrectly reports "ES2024" as an invalid 'compilerOptions/target' in tsconfig.json.

Details

'compilerOptions/target' must be equal to one of the allowed values 'ES3, ES5, ES6, ES2015, ES2016, ES2017, ES2018, ES2019, ES2020, ES2021, ES2022, ESNext'. Value found '"ES2024"'. Or 'compilerOptions/target' must match pattern '^([Ee][Ss]([356]|(20(1[56789]|2[012]))|[Nn][Ee][Xx][Tt]))$'. Value found 'ES2024'webhint[typescript-config/is-valid](https://webhint.io/docs/user-guide/hints/hint-typescript-config/is-valid/)
Installation
Identifier
webhint.vscode-webhint
Version
2.1.14
Last Updated
2025-03-19, 11:37:15
Size
489.73KB
Cache
268.60MB
Marketplace
Published
2018-09-20, 15:40:05
Last Released
2025-01-10, 13:06:29
Categories
Linters

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions