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

ESLint plugin with rules that help validate proper imports.

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

Since there's no forum for this complex plugin I humbly request eyes here to review this function and comment on validity. Sincere thanks for your time. Imports config called from...

question
docs

ESLint's native `sort-imports` does the sorting I want, but doesn't care about the grouping of imports. On the other hand, `import/order` gives me the ordering I want, but not the...

import/export ordering

Fix for: Oops! Something went wrong! :( ESLint: 9.12.0 ConfigError: Config (unnamed): Key "plugins": Cannot redefine plugin "import". at rethrowConfigError (/Users/atrzeciak/workspace/uber/uber-paste/uber-paste/node_modules/@eslint/config-array/dist/cjs/index.cjs:303:8)

"Sort the order within each group in alphabetical manner based on **import path"** That's the current way... what If I wanted something like this.. ```` import React from 'react'; import...

enhancement
help wanted
import/export ordering

Is there a way to transform each export group to export declarations?

enhancement
help wanted

The problem is I have project with configured `tsconfig.paths` that have pattern/substitution style similar to those from the tsconfig documentation: ```json { "compilerOptions": { "paths": { "@modules/*": ["src/modules/*"], "@shared/*": ["src/modules/shared/*"],...

bug

Hello all, Recently I have updated my project and my eslint has started complaining when I import an image using an alias (extraneous dependency error). In order to get rid...

bug

Originally discovered at https://youtrack.jetbrains.com/issue/WEB-45210 ## How to reproduce? 1. Take the repo https://github.com/pahan35/web-ui-boilerplate 2. Add new component into `/src/Components/` with any code with exports. I used the next one with...

bug

I noticed that `import/no-unresolved` is not warning me when I forgot to export a function from a Yarn workspace which will be imported from another Yarn workspace. I created a...

bug
resolver

Currently, `import/first` seems to require that any `import` comes before any `export`, even if the `export` is an `export..from`. Reordering them, in this case, could be a potential logic error....

import/export ordering