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

> [!IMPORTANT] > Migrate from `unrs-resolver` to `oxc-resolver`, update dependencies, and refine CI configuration without affecting public API or runtime behavior. > > - **Dependencies**: > - Replace `unrs-resolver` with...

dependencies

I have decided to add extensions to my typescript module imports, and `import-x/extensions` has been a godsend for the migration. However, one thing I've noticed is that when using the...

Not sure if this is better off in `eslint-plugin-import-x` or `eslint-import-resolver-typescript` 🤷‍♂️. It seems that only the first reference is being considered - at least when it comes to the...

https://github.com/unrs/unrs-resolver/issues/167

good first issue

This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [eslint-plugin-unicorn](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn) | [`^59.0.1` -> `^60.0.0`](https://renovatebot.com/diffs/npm/eslint-plugin-unicorn/59.0.1/60.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-unicorn/60.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-unicorn/59.0.1/60.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [hermes-eslint](https://redirect.github.com/facebook/hermes) |...

foo.ts ```ts export const foo = 1; ``` bar.ts ```ts export type * from "./foo.ts"; // Error: Multiple exports of name 'foo' export {foo} from "./foo.ts"; // Error: Multiple exports...

In VS Code, it's possible to have unused imports automatically removed when saving the file: _.vscode/setting.json_ ```json { "editor.codeActionsOnSave": { "source.removeUnusedImports": "explicit" } } ``` I think enforcing this as...

Some rules, for example [`dynamic-import-chunkname`](https://github.com/un-ts/eslint-plugin-import-x/blob/d0a78167791f41804e880356c9c69d7a45c4b45d/src/rules/dynamic-import-chunkname.ts#L34) currently allow extra properties to be passed in options object, which should not be allowed. This makes it easier for typos in rule options to...

### Setup ```console $ mkdir /tmp/test && cd "$_" $ npm init -y $ npm i -D @playwright/[email protected] [email protected] [email protected] $ jq '.scripts += {"lint":"eslint ."}' package.json >.tmp && mv...