-
Notifications
You must be signed in to change notification settings - Fork 2
fix(deps): update dependency eslint-plugin-import-x to v4 #20
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
base: master
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
47a31e2 to
b4413f5
Compare
b4413f5 to
c0164a1
Compare
c0164a1 to
fc8fbc5
Compare
fc8fbc5 to
5bc67a1
Compare
5bc67a1 to
bee81dc
Compare
|
Marking pull request as stale since there was no activity for 30 days |
bee81dc to
4f0dc19
Compare
4f0dc19 to
964126b
Compare
964126b to
0f22352
Compare
0f22352 to
9d56dc7
Compare
9d56dc7 to
a6b5636
Compare
a6b5636 to
d1c9a81
Compare
d1c9a81 to
09c2a22
Compare
7e432bf to
5d469d2
Compare
5d469d2 to
977bd8f
Compare
977bd8f to
3752886
Compare
3752886 to
07db327
Compare
|
Marking pull request as stale since there was no activity for 30 days |
07db327 to
5691b49
Compare
5691b49 to
62f4ae6
Compare
62f4ae6 to
2e2be20
Compare
2e2be20 to
a68d234
Compare
a68d234 to
9cfa975
Compare
9cfa975 to
6291777
Compare
6291777 to
0293f21
Compare
0293f21 to
c45c56c
Compare
c45c56c to
4b7523e
Compare
This PR contains the following updates:
^0.5.2→^4.16.1Release Notes
un-ts/eslint-plugin-import-x (eslint-plugin-import-x)
v4.16.1Compare Source
Patch Changes
#399
33f07b4Thanks @JounQin! - fix: should only usecontext.physicalFilenameas fallback instead of main source#400
34adb40Thanks @renovate! - chore(deps): bumpstable-hash-xv0.2v4.16.0Compare Source
Minor Changes
1c8b9aeThanks @Rel1cx and @JounQin! - feat: portreact-x/prefer-react-namespace-importintoprefer-namespace-importPatch Changes
#393
14cb948Thanks @lnhrdt and @JounQin! - fix(extensions): always calculatefixoption#388
1089d9fThanks @JounQin! - fix: takecontext.cwdinto account for cache key#390
8ca9272Thanks @JounQin, @scytacki and @arcanis! - fix: pnp issue when used in a monorepov4.15.2Compare Source
Patch Changes
#378
cdb95baThanks @error-four-o-four! - chore: adopt newdeprecated: DeprecatedInfometa rule option#383
738a7cfThanks @JounQin! - fix: get npm client and install command correctly#382
d536756Thanks @JounQin! - chore: bumpunrs-resolvertov1.9.0, it'll fallback tonapi-postinstallcheck at runtimev4.15.1Compare Source
Patch Changes
#373
90ec1f1Thanks @JounQin! - chore: migratestable-hashtostable-hash-x#371
4f97a1aThanks @dword-design and @JounQin! - fix: takecontext.cwdinto account for glob options of rulesno-extraneous-dependenciesandno-unassigned-import#371
4f97a1aThanks @JounQin! - fix: enablenocomment: truefor glob options of rulesno-import-module-exportsandno-namespace#368
74a16c5Thanks @JoseGoncalves! - fix: droplanguageOptionsconfig fromflat/recommendedv4.15.0Compare Source
Minor Changes
8bd40d8Thanks @JounQin! - refactor: drop @typescript-eslint/utils on productionv4.14.2Compare Source
Patch Changes
#360
3a3f5f8Thanks @JounQin! - fix: try/catchenumerator.iterateFilesgracefully#357
46c8bc6Thanks @JounQin! - chore(deps): bump@typescript-eslint/utilsandunrs-resolverv4.14.1Compare Source
Patch Changes
81f3d31Thanks @JounQin! - fix: tslib is no longer used because we're targeting ES2022v4.14.0Compare Source
Minor Changes
#272
43cdd21Thanks @SukkaW and @JounQin! - feat: map legacy node resolver to the new one with fallback support#350
12a7cdaThanks @43081j! - Expose flat configs inconfigsobject to allow use of ESLintextendsPatch Changes
3bc48fcThanks @JounQin! - fix: enablenocommentglob option for ruleno-unassigned-import'sallowoptionv4.13.3Compare Source
Patch Changes
f949929Thanks @JounQin! - fix(types): exportedimportXshould also haveflatConfigsas propertyv4.13.2Compare Source
Patch Changes
#344
2c007d0Thanks @JounQin! - fix: share same plugin reference for default export#346
2991f2eThanks @JounQin! - fix: ruledynamic-import-chunknamecrash due to ts migration#342
a55dcc7Thanks @JounQin! - fix(deps): bumpeslint-import-contextto v0.1.5v4.13.1Compare Source
Patch Changes
180785dThanks @JounQin! - fix(deps): bumpeslint-import-contextto v0.1.4v4.13.0Compare Source
Minor Changes
371ebeeThanks @JounQin! - feat: integrateeslint-import-contextto get rule context without additional paramsv4.12.2Compare Source
Patch Changes
0b3809bThanks @JounQin! - fix: remove buggymodule-syncexports fieldv4.12.1Compare Source
Patch Changes
4b284cbThanks @JounQin! - feat: add suggestions support forextensionsunexpectedcasev4.12.0Compare Source
Minor Changes
90c1cd0Thanks @JounQin! - feat(extensions): supportpathGroupOverridesandfixoptionsv4.11.1Compare Source
Patch Changes
fc4c72cThanks @SukkaW! - fix: accept non-array resolver inresolver-nextsettingv4.11.0Compare Source
Minor Changes
11ebfbdThanks @JounQin! - refactor: migrate deprecateddoctrinetocomment-parserv4.10.6Compare Source
Patch Changes
d54302fThanks @JounQin! - chore: bumpunrs-resolverto v1.6.0v4.10.5Compare Source
Patch Changes
db1824bThanks @JounQin! - fix: support run with worker evalv4.10.4Compare Source
Patch Changes
#299
bf50a4dThanks @renovate! - chore(deps): bump@typescript-eslint/utilsto v8.30#297
9769f3cThanks @JounQin! - fix: support run withnode --evalv4.10.3Compare Source
Patch Changes
1342127Thanks @JounQin! - refactor: remove unnecessary check forpnpapibecauseunrs-resolveralready handles itv4.10.2Compare Source
Patch Changes
9f4f213Thanks @JounQin! - chore: bumpunrs-resolverto v1.4.1v4.10.1Compare Source
Patch Changes
#280
4966857Thanks @JounQin! - chore: bump all (dev) deps#280
4966857Thanks @JounQin! - fix: incorrect top leveltypesfield forcjsv4.10.0Compare Source
Minor Changes
6cba8ebThanks @JounQin! - feat: migrate to ESM primaryPatch Changes
e52168eThanks @jribbens! - fix: allowminimatch9 or 10v4.9.4Compare Source
Patch Changes
e9e2300Thanks @JounQin! - chore: bumpunrs-resolverto v1.3.3v4.9.3Compare Source
Patch Changes
c0046a9Thanks @JounQin! - chore: migrate to rebrandingunrs-resolverwith new targets supported:i686-pc-windows-msvcarmv7-unknown-linux-musleabihfpowerpc64le-unknown-linux-gnus390x-unknown-linux-gnuv4.9.2Compare Source
Patch Changes
baf7086Thanks @JounQin! - fix:PluginConfigshould use classic configv4.9.1Compare Source
Patch Changes
e66575fThanks @JounQin! - refactor: revertpicomatchback tominimatchv4.9.0Compare Source
Minor Changes
6940b14Thanks @TrevorBurnham! - feat: port allorderrule new options from upstreamnewlines-between-typesnamedconsolidateIslandssortTypesGroupv4.8.1Compare Source
Patch Changes
af5de32Thanks @JounQin! - chore: bumprspack-resolverto v1.2.0v4.8.0Compare Source
Minor Changes
60eb443Thanks @JounQin! - feat: migrateminimatchtopicomatchv4.7.2Compare Source
Patch Changes
437db59Thanks @JounQin! - fix: alignpnpapiresolved path withenhanced-resolvev4.7.1Compare Source
Patch Changes
5bc8976Thanks @JounQin! - fix: userspack-resolverfork for pnp supportv4.7.0Compare Source
Minor Changes
#237
53b316cThanks @JounQin! - feat: migrateenhanced-resolvetooxc-resolver#214
091d2daThanks @mrginglymus! - Improve windows supportPatch Changes
#238
c8a388dThanks @JounQin! - fix: change defaultconditionsandmainFieldsdefaultshould be last matched,moduleshould be inmainFields.Reference https://github.com/isaacs/resolve-import/blob/03daf0a9649d183bea40975a7777ae72955f44b8/src/resolve-conditional-value.ts#L15
v4.6.1Compare Source
Patch Changes
be9c3e8Thanks @mrginglymus! - Fix enhanced-resolve dependencyv4.6.0Compare Source
Minor Changes
#209
46d2360Thanks @SukkaW! - Wheneslint-plugin-import-xwas forked fromeslint-plugin-import, we copied over the default resolver (which iseslint-import-resolver-node) as well. However, this resolver doesn't supportsexportsin thepackage.jsonfile, and the current maintainer of theeslint-import-resolver-node(ljharb) doesn't have the time implementing this feature and he locked the issue import-js/eslint-plugin-import#1810.So we decided to implement our own resolver that "just works". The new resolver is built upon the
enhanced-resolvethat implements the full Node.js Resolver Algorithm. The new resolver only implements the import resolver interface v3, which means you can only use it with ESLint Flat config. For more details about the import resolver interface v3, please check out #192.In the next major version of
eslint-plugin-import-x, we will remove theeslint-import-resolver-nodeand use this new resolver by default. In the meantime, you can try out this new resolver by setting theimport-x/resolver-nextoption in youreslint.config.jsfile:We do not plan to implement reading
baseUrlandpathsfrom thetsconfig.jsonfile in this resolver. If you need this feature, please checkout eslint-import-resolver-typescript (also powered byenhanced-resolve), eslint-import-resolver-oxc (powered byoxc-resolver), eslint-import-resolver-next (also powered byoxc-resolver), or other similar resolvers.Patch Changes
449738fThanks @privatenumber! - insert type prefix without new linev4.5.1Compare Source
Patch Changes
#198
ac6d2e1Thanks @voxpelli! - Fix #197 with missing types#204
32e9b55Thanks @privatenumber! - fix type-import and value-import merging when import-as is usedv4.5.0Compare Source
Minor Changes
fbf639bThanks @SukkaW! - The PR implements the new resolver design proposed in #40 (comment)For
eslint-plugin-import-xusersLike the ESLint flat config allows you to use js objects (e.g. import and require) as ESLint plugins, the new
eslint-plugin-import-xresolver settings allow you to use js objects as custom resolvers through the new settingimport-x/resolver-next:The new
import-x/resolver-nextno longer accepts strings as the resolver, thus will not be compatible with the ESLint legacy config (a.k.a..eslintrc). Those who are still using the ESLint legacy config should stick withimport-x/resolver.In the next major version of
eslint-plugin-import-x(v5), we will rename the currently existingimport-x/resolvertoimport-x/resolver-legacy(which allows the existing ESLint legacy config users to use their existing resolver settings), andimport-x/resolver-nextwill become the newimport-x/resolver. When ESLint v9 (the last ESLint version with ESLint legacy config support) reaches EOL in the future, we will removeimport-x/resolver-legacy.We have also made a few breaking changes to the new resolver API design, so you can't use existing custom resolvers directly with
import-x/resolver-next:For easier migration, the PR also introduces a compat utility
importXResolverCompatthat you can use in youreslint.config.js:For custom import resolver developers
This is the new API design of the resolver interface:
You will be able to import
NewResolverfromeslint-plugin-import-x.The most notable change is that
eslint-plugin-import-xno longer passes the third argument (options) to theresolvefunction.We encourage custom resolvers' authors to consume the options outside the actual
resolvefunction implementation. You can export a factory function to accept the options, this factory function will then be called inside theeslint.config.jsto get the actual resolver:This allows you to create a reusable resolver instance to improve the performance. With the existing version of the resolver interface, because the options are passed to the
resolverfunction, you will have to create a resolver instance every time theresolvefunction is called:With the factory function pattern, you can create a resolver instance beforehand:
Patch Changes
#184
bc4de89Thanks @marcalexiei! - fix(no-cycle): improves the type declaration of the ruleno-cycle’smaxDepthoption#184
bc4de89Thanks @marcalexiei! - fix(first): improves the type declaration of the rulefirst's option#184
bc4de89Thanks @marcalexiei! - fix(no-unused-modules): improves the type declaration of the ruleno-unused-modules’smissingExportsoption#184
bc4de89Thanks @marcalexiei! - fix(no-deprecated): improve error message when no description is availablev4.4.3Compare Source
Patch Changes
a428f82Thanks @SukkaW! - AttachecmaVersionandsourceTypetoparserOptionsduring parsev4.4.2Compare Source
Patch Changes
cc4ee65Thanks @SukkaW! - Fix #144, read propersourceTypefor both eslint flat config and legacy eslintrc config.v4.4.0Compare Source
Minor Changes
9c58269Thanks @teidesu! - Add new rule optioncheckTypedImportsforextensions, backports import-js/eslint-plugin-import#2817Patch Changes
#171
9715220Thanks @SukkaW! - Perf: avoid regexp during parser choosing#171
9715220Thanks @SukkaW! - Add extra guard for ruleno-named-as-default. A few guards are borrowed from import-js/eslint-plugin-import#3032, but we don't sync the rest of changes from upstream since we have already implemented a way more performant check.#171
9715220Thanks @SukkaW! - More test cases forno-named-exportandno-defualt-exportrule specifically with non-modulesourceType#171
9715220Thanks @SukkaW! - Fixexportwhen there is only oneTSDeclareFunction(import-js/eslint-plugin-import#3065)#171
9715220Thanks @SukkaW! - PreventExportMap's cache is being tainted by incompatible parser (e.g. oldbabel-eslint). The cache is now skipped w/ incompatible parsers, which might introduce performance impacts only for those who are using incompatible parsers. (import-js/eslint-plugin-import#3062)#171
9715220Thanks @SukkaW! - Docs: fix a few typos here and there#168
5de039cThanks @hyoban! - Fixes #167, theno-duplicatesrule now allows co-existing inline type imports and namespace imports.#171
9715220Thanks @SukkaW! - Properly fix espree parser w/ ESLint Flat Configv4.3.1Compare Source
Patch Changes
38d0081Thanks @AaronMoat! - Fix issue whereno-duplicatesrule withprefer-inlineincorrectly marks default type and named type imports as duplicatesv4.3.0Compare Source
Minor Changes
4da5388Thanks @GoodbyeNJN! - feat: add support for using resolver object directly in settingsv4.2.1Compare Source
Patch Changes
#148
d228129Thanks @SukkaW! - Fixnewline-after-import'sconsiderCommentsoptions when lintingrequire, backports import-js/eslint-plugin-import#2952#147
eca73edThanks @nchevsky! - Fix regression in ruleno-unused-moduleswhich would incorrectly initialize optionsrcto[]instead of[process.cwd()], breaking file discovery.#148
d228129Thanks @SukkaW! - Fixno-duplicatesfor TypeScript, backports import-js/eslint-plugin-import#3033v4.2.0Compare Source
Minor Changes
f12447eThanks @Zamiell! - Add new option "whitelist" for rule "no-extraneous-dependencies"Patch Changes
e5e4580Thanks @SukkaW! - Fix nuxt/eslint#494 by avoid importing from@typescript-eslint/typescript-estree.v4.1.1Compare Source
Patch Changes
757ffa9Thanks @SukkaW! - Fix #123 where the ruleno-named-as-defaultwill confuse TypeScript namespace exports with actual exports.v4.1.0Compare Source
Minor Changes
#122
cd52e86Thanks @michaelfaith! - Add ESLint flat configuration presets. You can access them with:#132
9948c78Thanks @SukkaW! - Addedno-rename-defaultthat forbid importing a default export by a different name. Originally created by @whitneyit, ported by @SukkaWv4.0.0Compare Source
Major Changes
4ba14daThanks @SukkaW! - Use typescript-eslint v8. The minimum supported ESLint version is now >= 8.57.0 and the minimum required Node.js version is now 18.18.0.v3.1.0Compare Source
Minor Changes
38aa4cbThanks @silverwind! - AddignoreUnusedTypeExportsoption tono-unused-modulesPatch Changes
#118
0307ff2Thanks @SukkaW! - Reverts #111. The introduction of SCC causes extra overhead that overcomes the early return it introduced.A new
no-cycle-nextrule is being implemented using the graph. It won't be backward compatible with the current ruleno-cycle. The currentno-cyclerule will becomeno-cycle-legacyin the next major version.v3.0.1Compare Source
Patch Changes
#109
fe3121aThanks @SukkaW! - Makeeslint-plugin-import-xoverall faster by refactoring theExportMaputil#111
5cce946Thanks @SukkaW! - Drastically improveno-cycle's performance by skipping unnecessary BFSes using Tarjan's SCC.#109
fe3121aThanks @SukkaW! - Makeno-cyclerule fasterv3.0.0Compare Source
Major Changes
#106
19f10aaThanks @SukkaW! -eslint-plugin-import-xis a fork ofeslint-plugin-importthat aims to provide a more performant and more lightweight version of the original plugin.Due to the nature of the fork, all
eslint-plugin-import's git tags and releases have been copied over toeslint-plugin-import-x. This causes version conflicts when publishing new versions ofeslint-plugin-import-x.To prevent this, we have decided to publish a new major version of
eslint-plugin-import-xthat will not conflict with the originaleslint-plugin-import's versions.See also #76
Patch Changes
2d45869Thanks @SukkaW! - Makeno-duplicatesway fasterv0.5.3Compare Source
Patch Changes
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), 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.
This PR was generated by Mend Renovate. View the repository job log.