eslint-plugin-import
eslint-plugin-import copied to clipboard
ESLint plugin with rules that help validate proper imports.
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...
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...
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...
Is there a way to transform each export group to export declarations?
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/*"],...
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...
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...
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...
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....