Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
feat(eslint-plugin): [consistent-type-imports] support fixing to inli…
…ne types (#5050) * feat(eslint-plugin): [consistent-type-imports] support fixing to inline types * first pass fix to simpler fixer * cleanup pass 2 * add test for default import * add some docs * add moar test cases * add failing test * use aImportIsOnlyTypes instead of inlineTypes message * wip * fix for default import inline * fix another case with as * simplify by using existing typeOverValue func * add some commentse * add another test for two imports from same source * better doc with link to 4.5 * fix lint * cleanup comments * Update packages/eslint-plugin/docs/rules/consistent-type-imports.md Co-authored-by: Josh Goldberg <me@joshuakgoldberg.com> * Update packages/eslint-plugin/docs/rules/consistent-type-imports.md Co-authored-by: Josh Goldberg <me@joshuakgoldberg.com> * Update packages/eslint-plugin/docs/rules/consistent-type-imports.md Co-authored-by: Josh Goldberg <me@joshuakgoldberg.com> * Update packages/eslint-plugin/src/rules/consistent-type-imports.ts Co-authored-by: Josh Goldberg <me@joshuakgoldberg.com> * Update packages/eslint-plugin/src/rules/consistent-type-imports.ts Co-authored-by: Josh Goldberg <me@joshuakgoldberg.com> * fix changelog formatting * Update packages/eslint-plugin/docs/rules/consistent-type-imports.md Co-authored-by: Josh Goldberg <git@joshuakgoldberg.com> * try single quotest * cleanup not valid comment anymore * Update packages/eslint-plugin/tests/rules/consistent-type-imports.test.ts Co-authored-by: Josh Goldberg <git@joshuakgoldberg.com> * Update packages/eslint-plugin/tests/rules/consistent-type-imports.test.ts Co-authored-by: Josh Goldberg <git@joshuakgoldberg.com> * rm comment * improve documentation with feedback * add tabs Co-authored-by: Josh Goldberg <me@joshuakgoldberg.com> Co-authored-by: Josh Goldberg <git@joshuakgoldberg.com>
- Loading branch information