Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(utils): update types to reflect
RuleContext
and SourceCode
c…
…hanges and deprecations (#7812) * chore(utils): deprecate `Context#parserServices` * feat(utils): define new methods on `SourceCode` * chore(utils): mark `Context` properties and methods as deprecated * fix(utils): `getAncestors` not `getScope` * chore: ignore usage of deprecated property for now * fix(utils): mark new methods as optional * Update getParserServices.ts --------- Co-authored-by: Brad Zacher <brad.zacher@gmail.com>
- Loading branch information
1 parent
202bd95
commit b73d8b2
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters