Get `parserServices` from `context.sourceCode` in ESLint 9
In ESLint 9, some methods and properties that used to be accessible on
the context
object have been moved to the SourceCode
object. This
includes parserServices
which we are leveraging. This updates the code
that uses it to get it from context.sourceCode
when available.
https://eslint.org/docs/latest/use/migrate-to-9.0.0#-removed-multiple-context-methods
Edited by Paul Gascou-Vaillancourt