Detalhes do pacote

eslint-plugin-import-lite

9romise15kMIT0.3.0

[!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!

readme (leia-me)

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!

npm version npm bundle size License

Feature

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

License

MIT License © 2025-PRESENT Vida Xie

changelog (log de mudanças)

Changelog

0.3.0 (2025-06-18)

⚠ BREAKING CHANGES

  • consistent-type-specifier-style: rename options (#4)

Features

  • consistent-type-specifier-style: rename options (#4) (31547e0)

Bug Fixes

  • no-named-default: drop flow (6ef522c)

Build Related

Chores

0.2.0 (2025-06-15)

⚠ BREAKING CHANGES

  • require typescript >=4.5
  • drop babel test cases

Features

  • avoid typescript dependency (ab9ebdf)
  • drop babel test cases (72a2d1f)
  • init plugin, new rule first (5f0ca36)
  • new rule newline-after-import (b584339)
  • port consistent-type-specifier-style (e3d33bd)
  • port no-default-export (b19e979)
  • port no-duplicates (c80853d)
  • port no-mutable-exports (669d675)
  • port no-named-default (683e3a5)
  • require typescript >=4.5 (164624b)

Bug Fixes

  • consistent-type-specifier-style: drop flow support (a0b2f62)
  • correct config preset (fe89bad)
  • correct recommended rules (034cf08)
  • specific peerDependencies (f5dfa0a)
  • sync recommended rules (8986e7d)

Build Related

  • only bundle dts for index file (60ebcdf)

Chores