title: ESLint: TypeError: this.libOptions.parse is not a function
body: <p>I was getting started with Next.js on WebStorm 2022.2.1 Build #WS-222.3739.57
  I created a new Next.js project with typescript enabled, and that's all,</p>
  <p>The error is shown below:</p>
  <pre><code>TypeError: this.libOptions.parse is not a function
  
  TypeError: this.libOptions.parse is not a function
      at ESLint8Plugin.&lt;anonymous&gt; (C:\Program Files\JetBrains\WebStorm 2022.1.2\plugins\JavaScriptLanguage\languageService\eslint\bin\eslint8-plugin.js:139:64)
      at step (C:\Program Files\JetBrains\WebStorm 2022.1.2\plugins\JavaScriptLanguage\languageService\eslint\bin\eslint8-plugin.js:44:23)
      at Object.next (C:\Program Files\JetBrains\WebStorm 2022.1.2\plugins\JavaScriptLanguage\languageService\eslint\bin\eslint8-plugin.js:25:53)
      at C:\Program Files\JetBrains\WebStorm 2022.1.2\plugins\JavaScriptLanguage\languageService\eslint\bin\eslint8-plugin.js:19:71
      at new Promise (&lt;anonymous&gt;)
      at __awaiter (C:\Program Files\JetBrains\WebStorm 2022.1.2\plugins\JavaScriptLanguage\languageService\eslint\bin\eslint8-plugin.js:15:12)
      at ESLint8Plugin.invokeESLint (C:\Program Files\JetBrains\WebStorm 2022.1.2\plugins\JavaScriptLanguage\languageService\eslint\bin\eslint8-plugin.js:133:16)
      at ESLint8Plugin.&lt;anonymous&gt; (C:\Program Files\JetBrains\WebStorm 2022.1.2\plugins\JavaScriptLanguage\languageService\eslint\bin\eslint8-plugin.js:120:44)
      at step (C:\Program Files\JetBrains\WebStorm 2022.1.2\plugins\JavaScriptLanguage\languageService\eslint\bin\eslint8-plugin.js:44:23)
      at Object.next (C:\Program Files\JetBrains\WebStorm 2022.1.2\plugins\JavaScriptLanguage\languageService\eslint\bin\eslint8-plugin.js:25:53)
  Process finished with exit code -1
  </code></pre>
  <p>My node.js is v16.15.1, and the eslint version is 8.23.0</p>
  <p>This is what my devDependencies look like;</p>
  <pre><code>  &quot;devDependencies&quot;: {
      &quot;@types/node&quot;: &quot;18.7.13&quot;,
      &quot;@types/react&quot;: &quot;18.0.17&quot;,
      &quot;@types/react-dom&quot;: &quot;18.0.6&quot;,
      &quot;eslint&quot;: &quot;8.23.0&quot;,
      &quot;eslint-config-next&quot;: &quot;12.2.5&quot;,
      &quot;prisma&quot;: &quot;^4.2.1&quot;,
      &quot;typescript&quot;: &quot;4.8.2&quot;
    }
  </code></pre>
  <p>my .eslintrc.json,</p>
  <pre><code>{
    &quot;extends&quot;: &quot;next/core-web-vitals&quot;
  }
  </code></pre>