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 not support yet #13122
Comments
Can you share your eslint config ?
|
Hi @willin, thanks for the issue. It looks like there's not enough information for us to know how to help you. If you're reporting a bug, please be sure to include:
Requesting a new rule? Please see Proposing a New Rule for instructions. Requesting a rule change? Please see Proposing a Rule Change for instructions. If it's something else, please just provide as much additional information as possible. Thanks! |
@anikethsaha https://github.com/tc39/proposals/blob/master/finished-proposals.md besides, Optional Chaining is not supported too. |
yes, 2020 as I mentioned
this is work in progress. |
root: true
extends: shiwangme
parserOptions:
ecmaVersion: 2020 when i add ecmaVersion: console.log(BigInt(1));
// 'BigInt' is not defined.
console.log(1n === 1);
// ok
const a = {};
console.log(a?.b);
// Parsing error: Unexpected token . |
is console.log(1n) // use this one Or else , try using
its still in work in progress state, check this one #12642 Hope this helps 👍 |
thx |
The version of ESLint you are using.
6.8.0
The problem you want to solve.
BigInt Support
Your take on the correct solution to problem.
The text was updated successfully, but these errors were encountered: