lo1tuma / eslint-plugin-mocha

ESLint rules for mocha
MIT License
281 stars 61 forks source link

Latest Version 10.4.2. is throwing TypeError: Cannot read properties of undefined (reading 'getScope') #353

Closed Gynormous closed 7 months ago

Gynormous commented 7 months ago

Just bumped to latest package from 10.4.1 to 10.4.2 and have started receiving the following error:

TypeError: Cannot read properties of undefined (reading 'getScope') Occurred while linting /xxx/some/path/to/test/... Rule: "XXXXX"

Unsure why sourceCode in the patch commit is undefined.

Gynormous commented 7 months ago

Issue is due to compatibility issue with eslint 8. You must be on latest version of 8 for it to work without going to V9

MikeMcC399 commented 6 months ago

@Gynormous