Skip to content
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

Bump eslint-import-resolver-typescript from 3.6.3 to 3.7.0 #12204

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 5, 2024

Bumps eslint-import-resolver-typescript from 3.6.3 to 3.7.0.

Release notes

Sourced from eslint-import-resolver-typescript's releases.

v3.7.0

Minor Changes

  • #326 93ea130 Thanks @​SukkaW! - This version has implemented the eslint-plugin-import-x's v3 resolver interface. This allows you to use import/require to reference eslint-import-resolver-typescript directly in your ESLint flat config:

    Previously

    // eslint.config.js
    module.exports = {
      settings: {
        'import-x/resolver': {
          typescript: {
            alwaysTryTypes: true,
          },
          // or
          require.resolve('eslint-import-resolver-typescript'):
            alwaysTryTypes: true,
          }
        }
      }
    }

    Now

    // eslint.config.js
    const {
      createTypeScriptImportResolver,
    } = require('eslint-import-resolver-typescript')
    module.exports = {
    settings: {
    'import-x/resolver-next': [
    createTypeScriptImportResolver({
    alwaysTryTypes: true,
    }),
    ],
    },
    }

    Note that this only works with eslint-plugin-import-x@>=4.5.0. You can't use createTypeScriptImportResolver with the older versions of eslint-plugin-import-x or any existing versions of eslint-plugin-import.

Changelog

Sourced from eslint-import-resolver-typescript's changelog.

3.7.0

Minor Changes

  • #326 93ea130 Thanks @​SukkaW! - This version has implemented the eslint-plugin-import-x's v3 resolver interface. This allows you to use import/require to reference eslint-import-resolver-typescript directly in your ESLint flat config:

    Previously

    // eslint.config.js
    module.exports = {
      settings: {
        'import-x/resolver': {
          typescript: {
            alwaysTryTypes: true,
          },
          // or
          require.resolve('eslint-import-resolver-typescript'):
            alwaysTryTypes: true,
          }
        }
      }
    }

    Now

    // eslint.config.js
    const {
      createTypeScriptImportResolver,
    } = require('eslint-import-resolver-typescript')
    module.exports = {
    settings: {
    'import-x/resolver-next': [
    createTypeScriptImportResolver({
    alwaysTryTypes: true,
    }),
    ],
    },
    }

    Note that this only works with eslint-plugin-import-x@>=4.5.0. You can't use createTypeScriptImportResolver with the older versions of eslint-plugin-import-x or any existing versions of eslint-plugin-import.

Commits
  • c5da700 chore: release eslint-import-resolver-typescript (#327)
  • 93ea130 feat: implement import-x resolver interface v3 (#326)
  • e6256b7 chore(deps): update dependency simple-git-hooks to ^2.11.1 (#325)
  • da56f17 chore(deps): update dependency react to ^18.3.1 (#324)
  • 88a6d44 chore(deps): update node.js to v18.20.5 (#323)
  • bed664f chore(deps): update dependency @​changesets/cli to ^2.27.10 (#322)
  • 42e7cc3 chore(deps): update dependency @​types/node to ^18.19.63 (#320)
  • 13fa760 chore(deps): update dependency @​changesets/cli to ^2.27.9 (#319)
  • 5ee5879 fix(deps): update dependency debug to ^4.3.7 (#316)
  • f5b09f5 chore(deps): update dependency eslint to ^8.57.1 (#315)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Dependabot: Pull requests that update dependencies. javascript Pull requests that update JavaScript code labels Dec 5, 2024
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/eslint-import-resolver-typescript-3.7.0 branch 4 times, most recently from 685a502 to d6c58b4 Compare December 5, 2024 13:43
Bumps [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript) from 3.6.3 to 3.7.0.
- [Release notes](https://github.com/import-js/eslint-import-resolver-typescript/releases)
- [Changelog](https://github.com/import-js/eslint-import-resolver-typescript/blob/master/CHANGELOG.md)
- [Commits](import-js/eslint-import-resolver-typescript@v3.6.3...v3.7.0)

---
updated-dependencies:
- dependency-name: eslint-import-resolver-typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/eslint-import-resolver-typescript-3.7.0 branch from d6c58b4 to eb3ed10 Compare December 5, 2024 13:51
@esizer esizer added this pull request to the merge queue Dec 5, 2024
Merged via the queue into main with commit 661d6ce Dec 5, 2024
10 checks passed
@esizer esizer deleted the dependabot/npm_and_yarn/eslint-import-resolver-typescript-3.7.0 branch December 5, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Dependabot: Pull requests that update dependencies. javascript Pull requests that update JavaScript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant