eslint-plugin-import-lite
[!WARNING]
WIP
This plugin is still newly born and willing to accept useful import-related rules.
Feel free to open an issue to share your ideas!
Feature
- Port some useful rules that don’t require a resolver from
eslint-plugin-import-x
. - No need for a resolver and settings like those in
eslint-plugin-import-x
. - Drop babel and flow support.
See all rules in src/rules
Motivation
I extend my own ESLint config from @antfu/eslint-config
.
Recently this config dropped eslint-plugin-import-x
cause it introduce some binary packages and make it heavy.
In a discussion) about built-in resolver, the maintainer plan to keep it as dependency, which makes it impossible to lightweight the package.
But there are some useful rules and some people (include me) want to bring the plugin back.
Credits
- eslint-plugin-import-x - source codes MIT
- eslint-stylistic - project structure and scripts MIT