Nullish coalescing operator is natively supported starting from eslint>=7.5.0.
The easiest is set ES2020 in your package.json:
{
"eslintConfig":
{
"parserOptions":
{
"ecmaVersion": 2020
}
}
}
Nullish coalescing operator is natively supported starting from eslint>=7.5.0.
The easiest is set ES2020 in your package.json:
{
"eslintConfig":
{
"parserOptions":
{
"ecmaVersion": 2020
}
}
}