Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BigInt Constructor not found #41

Open
Rudolphous opened this issue Oct 10, 2024 · 1 comment
Open

BigInt Constructor not found #41

Rudolphous opened this issue Oct 10, 2024 · 1 comment

Comments

@Rudolphous
Copy link

According to can i use bigint constructor works on safari 14+ https://caniuse.com/mdn-javascript_builtins_bigint_bigint

The plugin does not spot this issue on the following repo:
https://github.com/Rudolphous/eslint-testing/tree/bigint

Is this missing, or was it a conscious choice to leave this out?

@brettz9
Copy link
Collaborator

brettz9 commented Oct 10, 2024

As per #36, some features are missing.

Try using eslint-plugin-compat (instead of this escompat plugin) with settings: {lintAllEsApis: true}. That appears to catch the BigInt constructor as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants