eslint-plugin-import-x icon indicating copy to clipboard operation
eslint-plugin-import-x copied to clipboard

A fork of `eslint-plugin-import` using `get-tsconfig` to replace `tsconfig-paths` and heavy `typescript` under the hood.

Results 102 eslint-plugin-import-x issues
Sort by recently updated
recently updated
newest added

currently getting: ``` npm warn ERESOLVE overriding peer dependency npm warn ERESOLVE overriding peer dependency npm warn While resolving: @typescript-eslint/[email protected] npm warn Found: [email protected] npm warn node_modules/eslint npm warn peer...

Any chance of porting [no-rename-default](https://github.com/import-js/eslint-plugin-import/pull/3006) from upstream? The PR is there but it never got merged (`eslint-plugin-import` is basically abandonware at this point).

good first issue
PR welcome

Hey there, so there are two possibilities: either I'm completely confused and can't see what I'm doing wrong or this is a real bug. Setting the rule 'import-x/no-unused-modules' results in...

Hi. Today I upgraded the plugin to version 3.0.1 and noticed a huge drop in performance in the no-cycle rule. Details below. ### Setup Depencecies: ```json { "eslint": "^9.6.0", "eslint-import-resolver-typescript":...

Importing modules with `bun:` prefix (eg. [`bun:test`](https://bun.sh/docs/cli/test#run-tests)) or `bun` itself with [`@types/bun`](https://www.npmjs.com/package/@types/bun) installed results in a resolution error with [`import-x/no-unresolved`](https://github.com/un-ts/eslint-plugin-import-x/blob/master/docs/rules/no-unresolved.md) ``` Unable to resolve path to module 'bun:test'. eslint import-x/no-unresolved...

I'm using https://github.com/metafloor/bwip-js like so: ```ts import * as bwipjs from 'bwip-js'; bwipjs.toBuffer({}) ``` In VSCode, I see this tooltip/intellisense: toBuffer is defined in the declaration file: https://github.com/metafloor/bwip-js/blob/master/dist/bwip-js-node.d.ts#L192 "toBuffer" is...

**Steps to reproduce** 1. Set the rule with the following configuration: ```typescript 'import-x/no-extraneous-dependencies': [ 'error', { devDependencies: ['*.config.ts', 'scripts/**/*.ts'], optionalDependencies: false, peerDependencies: false, bundledDependencies: false } ], ``` 2. In...

``` import type * as React from "react" import type { JSX, PropsWithChildren, ReactNode } from "react" ```

Lets say we have simple (flat) config file `eslint.config.js` with only one rule `'import-x/no-default-export': 'error',` ```javascript import eslintPluginImportX from 'eslint-plugin-import-x' import tsParser from '@typescript-eslint/parser' export default [ { files: ['**/*.js'],...