Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependency eslint-import-resolver-typescript to v3.7.0
| datasource | package | from | to | | ---------- | --------------------------------- | ----- | ----- | | npm | eslint-import-resolver-typescript | 3.6.3 | 3.7.0 | ## [v3.7.0](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#370) ##### Minor Changes - [#326](import-js/eslint-import-resolver-typescript#326) [`93ea130`](import-js/eslint-import-resolver-typescript@93ea130) Thanks [@SukkaW](https://github.com/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** ```js // eslint.config.js module.exports = { settings: { 'import-x/resolver': { typescript: { alwaysTryTypes: true, }, // or require.resolve('eslint-import-resolver-typescript'): alwaysTryTypes: true, } } } } ``` **Now** ```js // 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`.
- Loading branch information