Skip to content

Commit

Permalink
🤖 Merge PR #54419 feat(eslint): add Context#getPhysicalFilename met…
Browse files Browse the repository at this point in the history
…hod by @JounQin
  • Loading branch information
JounQin committed Jul 12, 2021
1 parent 5f2db5d commit a3d1522
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions types/eslint/eslint-tests.ts
Expand Up @@ -375,6 +375,8 @@ rule = {

context.getFilename();

context.getPhysicalFilename();

context.getCwd();

context.getSourceCode();
Expand Down
4 changes: 3 additions & 1 deletion types/eslint/index.d.ts
@@ -1,4 +1,4 @@
// Type definitions for eslint 7.2
// Type definitions for eslint 7.28
// Project: https://eslint.org
// Definitions by: Pierre-Marie Dartus <https://github.com/pmdartus>
// Jed Fox <https://github.com/j-f1>
Expand Down Expand Up @@ -584,6 +584,8 @@ export namespace Rule {

getFilename(): string;

getPhysicalFilename(): string;

getCwd(): string;

getScope(): Scope.Scope;
Expand Down

0 comments on commit a3d1522

Please sign in to comment.