# 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](https://github.com/import-js/eslint-plugin-import) / [eslint-plugin-import-x](https://github.com/un-ts/eslint-plugin-import-x) and [eslint-plugin-antfu](https://github.com/antfu/eslint-plugin-antfu) ## Features - Zero dependencies - No module resolution, only focuses on import/export syntax ## Install ```bash npm i eslint-plugin-importer ``` ### Available Rules - `consistent-type-specifier-style` - `newline-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](https://github.com/un-ts/eslint-plugin-import-x). ## Sponsors

## License [MIT](./LICENSE) License © 2025-PRESENT [Kevin Deng](https://github.com/sxzz) [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