sylhare/Typescript

TypeError: this.cliEngine is not a constructor

sylhare opened this issue · 1 comments

When setting eslint automatically in IntelliJ I get this strange error:

TypeError: this.cliEngine is not a constructor

With eslint:

  "devDependencies": {
    "eslint": "^8.6.0"
  }

It turns out that the version of IntelliJ that I was using is not compatible with the latest eslint (ie the error).
Using a lower version like 7.32.0 made it work.