Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Nov 11, 2025

Implement 4 methods on Context which are present in ESLint, but deprecated.

  • getFilename
  • physicalFilename
  • getCwd
  • getSourceCode

After some discussion, @camc314 and I concluded that we should add these methods despite their deprecation. The reasons behind that decision are documented in a comment in this PR.

@github-actions github-actions bot added A-linter Area - Linter A-cli Area - CLI C-enhancement Category - New feature or request labels Nov 11, 2025
Copy link
Member Author

overlookmotel commented Nov 11, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@overlookmotel overlookmotel marked this pull request as ready for review November 11, 2025 17:54
@overlookmotel overlookmotel added A-linter-plugins Area - Linter JS plugins and removed A-linter Area - Linter labels Nov 11, 2025
@graphite-app graphite-app bot changed the base branch from 11-11-docs_linter_plugins_alter_comments_on_file_context_used_in_eslint-compat_context_shim to graphite-base/15606 November 11, 2025 17:56
@github-actions github-actions bot added the A-linter Area - Linter label Nov 11, 2025
@graphite-app graphite-app bot force-pushed the graphite-base/15606 branch from 68316df to 3aabfac Compare November 11, 2025 18:02
@graphite-app graphite-app bot force-pushed the 11-10-feat_linter_plugins_implement_context_get_deprecated_methods branch from 4496ccd to 6b41114 Compare November 11, 2025 18:02
@graphite-app graphite-app bot changed the base branch from graphite-base/15606 to main November 11, 2025 18:02
@graphite-app graphite-app bot force-pushed the 11-10-feat_linter_plugins_implement_context_get_deprecated_methods branch from 6b41114 to 59a2406 Compare November 11, 2025 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cli Area - CLI A-linter Area - Linter A-linter-plugins Area - Linter JS plugins C-enhancement Category - New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants