Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
feat(eslint-plugin): [consistent-type-imports] support fixing to inline types#5050
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
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
31 commits Select commitHold shift + click to select a range
fb41191
feat(eslint-plugin): [consistent-type-imports] support fixing to inli…
snewcomerf78de8c
first pass fix to simpler fixer
snewcomer4bfcabf
cleanup pass 2
snewcomer0cbcc64
add test for default import
snewcomer2ed8a09
add some docs
snewcomer19dbb49
add moar test cases
snewcomer6751315
add failing test
snewcomerbe1930a
use aImportIsOnlyTypes instead of inlineTypes message
snewcomer2b727f8
wip
snewcomer24df1da
fix for default import inline
snewcomer14241ae
fix another case with as
snewcomer0925a7f
simplify by using existing typeOverValue func
snewcomer71bbdf6
add some commentse
snewcomer6b2f1a7
add another test for two imports from same source
snewcomer4f43a77
better doc with link to 4.5
snewcomer043933e
fix lint
snewcomera50cd23
cleanup comments
snewcomercf703a0
Update packages/eslint-plugin/docs/rules/consistent-type-imports.md
snewcomer6798d7e
Update packages/eslint-plugin/docs/rules/consistent-type-imports.md
snewcomer055db8d
Update packages/eslint-plugin/docs/rules/consistent-type-imports.md
snewcomer7104930
Update packages/eslint-plugin/src/rules/consistent-type-imports.ts
snewcomer696ddb5
Update packages/eslint-plugin/src/rules/consistent-type-imports.ts
snewcomer821add2
fix changelog formatting
snewcomer849c2eb
Update packages/eslint-plugin/docs/rules/consistent-type-imports.md
snewcomer77298af
try single quotest
snewcomer2b18686
cleanup not valid comment anymore
snewcomerec60d5b
Update packages/eslint-plugin/tests/rules/consistent-type-imports.tes…
snewcomer83d095b
Update packages/eslint-plugin/tests/rules/consistent-type-imports.tes…
snewcomer12dad78
rm comment
snewcomer5c26e08
improve documentation with feedback
snewcomerf92cefd
add tabs
snewcomerFile 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
40 changes: 39 additions & 1 deletionpackages/eslint-plugin/docs/rules/consistent-type-imports.md
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.