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

See https://github.com/import-js/eslint-plugin-import/pull/2239 PTAL @Mairu

Assuming we force extensions `"always"`, I get the following results: ```typescript import type Foo from "foo"; // No errors reported. import type { Bar } from "bar"; // No errors...

question
typescript

WIP, will update later TODO: - [ ] add a test where the objects in imported module are not reexported, but inlined - [ ] hide this behind an option?

Example (here I want to export everything from one or merge more files, then set a default export): ```JavaScript // filename is: ./file/index.js export * from './file'; // this contains...

help wanted

I forked this repository and ran `npm install`. After installing, a quick audit was performed and said: > found 54 vulnerabilities (3 low, 49 high, 2 critical) There's no lockfile...

version `2.27.5` https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-duplicates.md#inline-type-imports The documentation states that adding `{"prefer-inline": true}` as shown below will cause errors and autofixes if there are duplicate imports. However, this was not possible in my...

bug
help wanted
typescript

The `ExportMap` generally makes possible lint rules which evaluate metadata in files/nodes imported by the "current" file. For example, the [import/no-deprecated](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-deprecated.md) rule uses it to check for `@deprecated` doc tags...

I created a new project and I can't find all of vue's built-in methods.

Hello, I have following code : ``` const Docxtemplater = require("docxtemplater"); const { xml2str, str2xml, traits, chunkBy, isParagraphStart, isParagraphEnd, isContent, } = require("docxtemplater").DocUtils; const { ensureDirectChild, dropTags } = require("./xml-utils.js");...

enhancement
help wanted
import/export ordering

Fix to this [issue](https://github.com/import-js/eslint-plugin-import/issues/2717) Added a new rule `prefer-node-builtin-imports`. All test cases are taken from [eslint-plugin-unicorn_test](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/test/prefer-node-protocol.mjs)