Can't seem to configure eslint
Whatever I do, I can't seem to get eslint to work. I've set the .eslintrc to the installed one in magento-coding-standard\eslint but get the error 'this.libOptions.parse' is not a function.
I get the same error if I use 'defaults' to extend from in the .eslintrc file. I'm on Win10
Please sign in to leave a comment.
what IDE version do you work with? https://youtrack.jetbrains.com/issue/WEB-57089/ESLint8.23-TypeError-this.libOptions.parse-is-not-a-function is fixed in v. 2022.2.2. If upgrading PhpStorm is not an option for you, please try downgrading ESLint (
npm install eslint@8.22.0 --save-exact
)Thanks very much. That's fixed. After all that I think I want to turn it off now.....too many comments...