Syntax Error: Thread Loader (Worker 0) .eslintrc.js: Environment key "es2021" is unknown at Array.forEach (<anonymous>)

JavaScript
// delete {"es2021": true} from env variables
"parserOptions": {
  "ecmaVersion": 2021
},
Source

Also in JavaScript: