idok / eslint-plugin

ESLint plugin for intellij
http://plugins.jetbrains.com/plugin/7494
MIT License
151 stars 18 forks source link

this.libOptions.parse is not a function error on Intelij #93

Open yhojann-cl opened 2 years ago

yhojann-cl commented 2 years ago

When I start freshly installed intellij with its default settings and start a new reactjs project I get an error message from this plugin when opening any jsx file:

ESLint: TypeError: this.libOptions.parse is not a function

Captura desde 2022-09-14 13-01-04

The backtrace:

TypeError: this.libOptions.parse is not a function
    at ESLint8Plugin.<anonymous> (/home/whk/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/222.3739.54/plugins/JavaScriptLanguage/languageService/eslint/bin/eslint8-plugin.js:139:64)
    at step (/home/whk/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/222.3739.54/plugins/JavaScriptLanguage/languageService/eslint/bin/eslint8-plugin.js:44:23)
    at Object.next (/home/whk/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/222.3739.54/plugins/JavaScriptLanguage/languageService/eslint/bin/eslint8-plugin.js:25:53)
    at /home/whk/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/222.3739.54/plugins/JavaScriptLanguage/languageService/eslint/bin/eslint8-plugin.js:19:71
    at new Promise (<anonymous>)
    at __awaiter (/home/whk/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/222.3739.54/plugins/JavaScriptLanguage/languageService/eslint/bin/eslint8-plugin.js:15:12)
    at ESLint8Plugin.invokeESLint (/home/whk/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/222.3739.54/plugins/JavaScriptLanguage/languageService/eslint/bin/eslint8-plugin.js:133:16)
    at ESLint8Plugin.<anonymous> (/home/whk/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/222.3739.54/plugins/JavaScriptLanguage/languageService/eslint/bin/eslint8-plugin.js:120:44)
    at step (/home/whk/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/222.3739.54/plugins/JavaScriptLanguage/languageService/eslint/bin/eslint8-plugin.js:44:23)
    at Object.next (/home/whk/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/222.3739.54/plugins/JavaScriptLanguage/languageService/eslint/bin/eslint8-plugin.js:25:53)
Process finished with exit code -1