An ESLint plugin that is a subset of eslint-plugin-import.
npm install eslint-plugin-importer[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![Unit Test][unit-test-src]][unit-test-href]
An ESLint plugin that is a subset of eslint-plugin-import / eslint-plugin-import-x and eslint-plugin-antfu
- Zero dependencies
- No module resolution, only focuses on import/export syntax
``bash`
npm i eslint-plugin-importer
- consistent-type-specifier-stylenewline-after-import
- no-default-export
- no-duplicates
- no-duplicates-specifier
- no-mutable-exports
- no-named-default
- first`
-
Documentation is WIP, please refer to eslint-plugin-import-x.
MIT License © 2025-PRESENT Kevin Deng
[npm-version-src]: https://img.shields.io/npm/v/eslint-plugin-importer.svg
[npm-version-href]: https://npmjs.com/package/eslint-plugin-importer
[npm-downloads-src]: https://img.shields.io/npm/dm/eslint-plugin-importer
[npm-downloads-href]: https://www.npmcharts.com/compare/eslint-plugin-importer?interval=30
[unit-test-src]: https://github.com/sxzz/eslint-plugin-importer/actions/workflows/unit-test.yml/badge.svg
[unit-test-href]: https://github.com/sxzz/eslint-plugin-importer/actions/workflows/unit-test.yml