feat(linter/import) check type import in no_duplicates#2777
Merged
Conversation
Member
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
CodSpeed Performance ReportMerging #2777 will degrade performances by 3.32%Comparing Summary
Benchmarks breakdown
|
7fb4206 to
0e8fff6
Compare
This was referenced Mar 22, 2024
0e8fff6 to
178c11c
Compare
178c11c to
7d25344
Compare
Member
Author
|
The benchmark regression caused by |
Base automatically changed from
03-20-feat_linter/import_check_module_import_in_no_duplicates
to
main
March 28, 2024 07:25
7d25344 to
0e34808
Compare
Brooooooklyn
referenced
this pull request
in toeverything/AFFiNE
Apr 11, 2024
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [oxlint](https://oxc-project.github.io) ([source](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxlint)) | [`0.2.14` -> `0.2.17`](https://renovatebot.com/diffs/npm/oxlint/0.2.14/0.2.17) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>oxc-project/oxc (oxlint)</summary> ### [`v0.2.17`](https://github.com/oxc-project/oxc/releases/tag/oxlint_v0.2.17): oxlint v0.2.17 [Compare Source](https://github.com/oxc-project/oxc/compare/7066d55153ad70f95ae975adc3958c1010f9c5ff...df11d10a2220e9aa7a33d9ab39ed662c2ba6fdb5) ##### What's Changed - feat(linter): eslint-plugin-jest/prefer-lowercase-title by [@​eryue0220](https://github.com/eryue0220) in [https://github.com/oxc-project/oxc/pull/2911](https://github.com/oxc-project/oxc/pull/2911) - feat(linter): typescript-eslint/consistent-type-definitions by [@​todor-a](https://github.com/todor-a) in [https://github.com/oxc-project/oxc/pull/2885](https://github.com/oxc-project/oxc/pull/2885) - fix(cli): fix `oxlint --format json` yields 0 files to lint by [@​Boshen](https://github.com/Boshen) in [https://github.com/oxc-project/oxc/pull/2940](https://github.com/oxc-project/oxc/pull/2940) - fix(cli): if format is json do not print summary information ([#​2899](https://github.com/oxc-project/oxc/issues/2899)) by [@​kalvenschraut](https://github.com/kalvenschraut) in [https://github.com/oxc-project/oxc/pull/2925](https://github.com/oxc-project/oxc/pull/2925) - fix(linter): import/no-cycle ignore type-only imports by [@​JohnDaly](https://github.com/JohnDaly) in [https://github.com/oxc-project/oxc/pull/2924](https://github.com/oxc-project/oxc/pull/2924) - refactor(semantic/jsdoc): Rework JSDoc struct for better Span handling by [@​leaysgur](https://github.com/leaysgur) in [https://github.com/oxc-project/oxc/pull/2917](https://github.com/oxc-project/oxc/pull/2917) ##### New Contributors - [@​bradzacher](https://github.com/bradzacher) made their first contribution in [https://github.com/oxc-project/oxc/pull/2938](https://github.com/oxc-project/oxc/pull/2938) **Full Changelog**: oxc-project/oxc@oxlint_v0.2.16...oxlint_v0.2.17 ### [`v0.2.16`](https://github.com/oxc-project/oxc/releases/tag/oxlint_v0.2.16): oxlint v0.2.16 [Compare Source](https://github.com/oxc-project/oxc/compare/e7307ed23ca9b0707586b6bf4220cafb221ae86e...7066d55153ad70f95ae975adc3958c1010f9c5ff) #### What's Changed - feat(linter): [@​typescript-eslint/prefer-for-of](https://github.com/typescript-eslint/prefer-for-of) by [@​charnog](https://github.com/charnog) in [https://github.com/oxc-project/oxc/pull/2789](https://github.com/oxc-project/oxc/pull/2789) - feat(linter): Implement jsdoc/check-access by [@​leaysgur](https://github.com/leaysgur) in [https://github.com/oxc-project/oxc/pull/2642](https://github.com/oxc-project/oxc/pull/2642) - feat(linter): Implement jsdoc/empty-tags by [@​leaysgur](https://github.com/leaysgur) in [https://github.com/oxc-project/oxc/pull/2893](https://github.com/oxc-project/oxc/pull/2893) - feat(linter): eslint-plugin-jest/prefer-mock-promise-sorthand by [@​eryue0220](https://github.com/eryue0220) in [https://github.com/oxc-project/oxc/pull/2864](https://github.com/oxc-project/oxc/pull/2864) - feat(linter/import): Add `ignoreTypes` option for the `import/no-cycle` rule by [@​JohnDaly](https://github.com/JohnDaly) in [https://github.com/oxc-project/oxc/pull/2905](https://github.com/oxc-project/oxc/pull/2905) - fix(ast): `FinallyClause` won't get visited as `BlockStatement` anymore. by [@​rzvxa](https://github.com/rzvxa) in [https://github.com/oxc-project/oxc/pull/2881](https://github.com/oxc-project/oxc/pull/2881) - fix(linter): handle self closing script tags in astro partial loader ([#​2017](https://github.com/oxc-project/oxc/issues/2017)) by [@​kalvenschraut](https://github.com/kalvenschraut) in [https://github.com/oxc-project/oxc/pull/2907](https://github.com/oxc-project/oxc/pull/2907) - fix(linter): svelte partial loader handle generics ([#​2875](https://github.com/oxc-project/oxc/issues/2875)) by [@​kalvenschraut](https://github.com/kalvenschraut) in [https://github.com/oxc-project/oxc/pull/2906](https://github.com/oxc-project/oxc/pull/2906) #### New Contributors - [@​charnog](https://github.com/charnog) made their first contribution in [https://github.com/oxc-project/oxc/pull/2789](https://github.com/oxc-project/oxc/pull/2789) - [@​kalvenschraut](https://github.com/kalvenschraut) made their first contribution in [https://github.com/oxc-project/oxc/pull/2906](https://github.com/oxc-project/oxc/pull/2906) - [@​JohnDaly](https://github.com/JohnDaly) made their first contribution in [https://github.com/oxc-project/oxc/pull/2905](https://github.com/oxc-project/oxc/pull/2905) **Full Changelog**: oxc-project/oxc@oxlint_v0.2.15...oxlint_v0.2.16 ### [`v0.2.15`](https://github.com/oxc-project/oxc/releases/tag/oxlint_v0.2.15): oxlint v0.2.15 [Compare Source](https://github.com/oxc-project/oxc/compare/b1343d7bcbd490105583b561946f057ac91e40cf...e7307ed23ca9b0707586b6bf4220cafb221ae86e) #### What's Changed - feat(linter): default_param_last by [@​JoSeBu1](https://github.com/JoSeBu1) in [https://github.com/oxc-project/oxc/pull/2756](https://github.com/oxc-project/oxc/pull/2756) - feat(linter): eslint-plugin-jest/no-untyped-mock-factory by [@​eryue0220](https://github.com/eryue0220) in [https://github.com/oxc-project/oxc/pull/2807](https://github.com/oxc-project/oxc/pull/2807) - feat(linter): eslint-plugin-jest/prefer-comparison-matcher by [@​eryue0220](https://github.com/eryue0220) in [https://github.com/oxc-project/oxc/pull/2806](https://github.com/oxc-project/oxc/pull/2806) - feat(linter): eslint-plugin-react checked-requires-onchange-or-readonly by [@​keita-hino](https://github.com/keita-hino) in [https://github.com/oxc-project/oxc/pull/2754](https://github.com/oxc-project/oxc/pull/2754) - feat(linter): eslint/no-iterator by [@​JoSeBu1](https://github.com/JoSeBu1) in [https://github.com/oxc-project/oxc/pull/2758](https://github.com/oxc-project/oxc/pull/2758) - feat(linter): fallback to the default tsconfig path by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/oxc-project/oxc/pull/2842](https://github.com/oxc-project/oxc/pull/2842) - feat(linter): no_script_url by [@​JoSeBu1](https://github.com/JoSeBu1) in [https://github.com/oxc-project/oxc/pull/2761](https://github.com/oxc-project/oxc/pull/2761) - feat(linter/import) check deep namespace in namespace rule by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/oxc-project/oxc/pull/2805](https://github.com/oxc-project/oxc/pull/2805) - feat(linter/import) check module import in no_duplicates by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/oxc-project/oxc/pull/2771](https://github.com/oxc-project/oxc/pull/2771) - feat(linter/import) check type import in no_duplicates by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/oxc-project/oxc/pull/2777](https://github.com/oxc-project/oxc/pull/2777) - feat(linter/import) support allow_computed option in namespace by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/oxc-project/oxc/pull/2840](https://github.com/oxc-project/oxc/pull/2840) - feat(linter/import) support check re-export in named by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/oxc-project/oxc/pull/2769](https://github.com/oxc-project/oxc/pull/2769) - feat(linter/import): ignore type-only imports and exports in no_unresolved by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/oxc-project/oxc/pull/2849](https://github.com/oxc-project/oxc/pull/2849) - fix(linter/import): false positive for indirect export in namespace by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/oxc-project/oxc/pull/2862](https://github.com/oxc-project/oxc/pull/2862) - fix(linter/import): ignore export declaration in no-duplicates by [@​Dunqing](https://github.com/Dunqing) in [https://github.com/oxc-project/oxc/pull/2863](https://github.com/oxc-project/oxc/pull/2863) - fix(linter/max-lines): only report codes that exceed the line limit by [@​mysteryven](https://github.com/mysteryven) in [https://github.com/oxc-project/oxc/pull/2778](https://github.com/oxc-project/oxc/pull/2778) - fix(parser): add support for empty module declaration by [@​rzvxa](https://github.com/rzvxa) in [https://github.com/oxc-project/oxc/pull/2834](https://github.com/oxc-project/oxc/pull/2834) #### New Contributors - [@​rzvxa](https://github.com/rzvxa) made their first contribution in [https://github.com/oxc-project/oxc/pull/2764](https://github.com/oxc-project/oxc/pull/2764) **Full Changelog**: oxc-project/oxc@oxlint_v0.2.14...oxlint_v0.2.15 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Grouping unmergeable imports to determine if they are duplicates