-
-
Notifications
You must be signed in to change notification settings - Fork 485
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(linter): support report @typescript-eslint/consistent-type-imports
#3895
feat(linter): support report @typescript-eslint/consistent-type-imports
#3895
Conversation
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @mysteryven and the rest of your teammates on Graphite |
@typescript-eslint/consistent-type-imports
rule@typescript-eslint/consistent-type-imports
CodSpeed Performance ReportMerging #3895 will not alter performanceComparing Summary
|
df5f905
to
2e7389d
Compare
Merge activity
|
…rts` (#3895) This PR only contains the part about report error, adding the fixer part will make the whole PR difficult to review at one time. There are also some commented cases. One kind of them is `decorator`, as it blocked by #3645, another kind of them is type reference, need to solve #3799 first. I added TODO flags for them.
48c800f
to
b257d53
Compare
## [0.16.3] - 2024-07-02 ### Features - b257d53 linter: Support report `@typescript-eslint/consistent-type-imports` (#3895) (mysteryven) ### Bug Fixes - 23038ad codegen: Print `TSFunctionType` inside `TSTypeAssertion` (#3999) (Boshen) - d995f94 semantic: Resolve reference incorrectly when a parameter references a parameter that hasn't been defined yet (#4004) (Dunqing) - bdee156 transformer/typescript: `declare class` incorrectly preserved as runtime class (#3997) (Dunqing) - a50ce3d transformer/typescript: Missing initializer for class constructor arguments with `private` and `protected` modifier (#3996) (Dunqing) ### Refactor - 0fe22a8 ast: Reorder fields to reflect their visit order. (#3994) (rzvxa) - d0eac46 parser: Use function instead of trait to parse normal lists (#4003) (Boshen) Co-authored-by: Boshen <Boshen@users.noreply.github.com>
## [0.6.0] - 2024-07-02 - c98d8aa ast: [**BREAKING**] Rename `visit_arrow_expression` to `visit_arrow_function_expression`. (#3995) (rzvxa) ### Features - dc6d45e ast,codegen: Add `TSParenthesizedType` and print type parentheses correctly (#3979) (Boshen) - b257d53 linter: Support report `@typescript-eslint/consistent-type-imports` (#3895) (mysteryven) - 2114475 linter: Implement @typescript-eslint/no-dynamic-delete (#3971) (kaykdm) - 10a3c9a linter/eslint-plugin-react: Implement no-set-state (#3975) (Jelle van der Waa) ### Bug Fixes - 432d6d9 linter: Find disabled directives using the message's `Span`. (#4010) (rzvxa) - dbbb6fc linter: Global variable check should always check builtin variables (#3973) (Boshen) ### Performance - 1eac3d2 semantic: Use `Atom<'a>` for `Reference`s (#3972) (Don Isaac) ### Refactor Co-authored-by: Boshen <Boshen@users.noreply.github.com>
This PR only contains the part about report error, adding the fixer part will make the whole PR difficult to review at one time.
There are also some commented cases. One kind of them is
decorator
, as it blocked by #3645, another kind of them is type reference, need to solve #3799 first. I added TODO flags for them.