Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
fix(eslint-plugin): [no-deprecated] should allow ignoring of deprecated value#10670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Open
y-hsgw wants to merge26 commits intotypescript-eslint:mainChoose a base branch fromy-hsgw:fix/no-deprecated
base:main
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
+493 −2
Open
Changes fromall commits
Commits
Show all changes
26 commits Select commitHold shift + click to select a range
38e69ff
feat: create valueMatchesSomeSpecifier function
y-hsgwae6e55a
fix: ignore deprecated value
y-hsgw36d8055
test: add test
y-hsgwd545ea1
test: add test
y-hsgwa4463a4
refactor: use AST node narrowing
y-hsgw95839f6
feat: support package
y-hsgwb80196b
test: add test
y-hsgw4f7a71e
Merge branch 'main' of https://github.com/y-hsgw/typescript-eslint in…
y-hsgw5b7b20d
Merge branch 'main' of https://github.com/y-hsgw/typescript-eslint in…
y-hsgwaf4be16
test: add test
y-hsgw064f92d
Merge branch 'main' into fix/no-deprecated
y-hsgw3567212
test: add test for typeMatchesSomeSpecifier function
y-hsgw1cd8ea6
test: add test for valueMatchesSomeSpecifier function
y-hsgw3673d21
refactor: remove default empty array from specifiers
y-hsgw325e132
Revert "refactor: remove default empty array from specifiers"
y-hsgw767fc7a
test: add test case with undefined argument
y-hsgwe1c4670
Merge branch 'main' into fix/no-deprecated
y-hsgw54f820b
fix: sync workspace
y-hsgw3b3520b
feat: support PrivateIdentifier
y-hsgw0e61bcf
feat: support literal case
y-hsgw1578137
feat: support dynamic import
y-hsgwd65268c
test: add no-deprecated test
y-hsgw72641c0
fix: sync workspace
y-hsgw8fca2c2
Merge branch 'main' of https://github.com/y-hsgw/typescript-eslint in…
y-hsgw7e6b840
refactor: use named functions instead of string descriptions in descr…
y-hsgw8ef57d2
fix: lint fix
y-hsgwFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
6 changes: 5 additions & 1 deletionpackages/eslint-plugin/src/rules/no-deprecated.ts
This file contains hidden or 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
101 changes: 101 additions & 0 deletionspackages/eslint-plugin/tests/rules/no-deprecated.test.ts
This file contains hidden or 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
68 changes: 68 additions & 0 deletionspackages/type-utils/src/TypeOrValueSpecifier.ts
This file contains hidden or 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
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.